This commit is contained in:
Kovid Goyal 2011-03-21 22:24:36 -06:00
parent 773a354963
commit d37f302a0e

View File

@ -60,7 +60,7 @@ class cmd_commit(_cmd_commit):
def close_bug(self, bug, action): def close_bug(self, bug, action):
print 'Closing bug #%s'% bug print 'Closing bug #%s'% bug
#nick = config.get_nickname() #nick = config.get_nickname()
suffix = ('The fix will be in the next release.' suffix = ('The fix will be in the next release. '
'calibre is usually released every Friday.') 'calibre is usually released every Friday.')
action = action+'ed' action = action+'ed'
msg = '%s in branch %s. %s'%(action, 'lp:calibre', suffix) msg = '%s in branch %s. %s'%(action, 'lp:calibre', suffix)
@ -72,7 +72,7 @@ class cmd_commit(_cmd_commit):
sendmail = importlib.import_module(SENDMAIL[1]) sendmail = importlib.import_module(SENDMAIL[1])
to = bug+'@bugs.launchpad.net' to = bug+'@bugs.launchpad.net'
sendmail.sendmail(msg, to, 'Re: calibre bug '+bug) sendmail.sendmail(msg, to, 'Fixed in lp:calibre')
bzrlib.commands.register_command(cmd_commit) bzrlib.commands.register_command(cmd_commit)