mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
773a354963
commit
d37f302a0e
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user