mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
229fe3e4d2
commit
7f2373c6be
@ -104,12 +104,12 @@ class cmd_commit(_cmd_commit):
|
|||||||
|
|
||||||
def close_bug(self, bug, action, url, config):
|
def close_bug(self, bug, action, url, config):
|
||||||
print 'Closing bug #%s'% bug
|
print 'Closing bug #%s'% bug
|
||||||
nick = config.get_nickname()
|
#nick = config.get_nickname()
|
||||||
suffix = config.get_user_option('bug_close_comment')
|
suffix = config.get_user_option('bug_close_comment')
|
||||||
if suffix is None:
|
if suffix is None:
|
||||||
suffix = 'The fix will be in the next release.'
|
suffix = 'The fix will be in the next release.'
|
||||||
action = action+'ed'
|
action = action+'ed'
|
||||||
msg = '%s in branch %s. %s'%(action, nick, suffix)
|
msg = '%s in branch %s. %s'%(action, 'lp:calibre', suffix)
|
||||||
msg = msg.replace('Fixesed', 'Fixed')
|
msg = msg.replace('Fixesed', 'Fixed')
|
||||||
server = xmlrpclib.ServerProxy(url)
|
server = xmlrpclib.ServerProxy(url)
|
||||||
server.ticket.update(int(bug), msg,
|
server.ticket.update(int(bug), msg,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user