mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:Make handling of missing formats more robust
This commit is contained in:
parent
653bd0e3ed
commit
ac2d8bc12b
@ -82,7 +82,7 @@ class cmd_commit(_cmd_commit):
|
|||||||
|
|
||||||
def run(self, message=None, file=None, verbose=False, selected_list=None,
|
def run(self, message=None, file=None, verbose=False, selected_list=None,
|
||||||
unchanged=False, strict=False, local=False, fixes=None,
|
unchanged=False, strict=False, local=False, fixes=None,
|
||||||
author=None, show_diff=False):
|
author=None, show_diff=False, exclude=None):
|
||||||
nick = config = bug = action = None
|
nick = config = bug = action = None
|
||||||
if message:
|
if message:
|
||||||
try:
|
try:
|
||||||
@ -97,7 +97,7 @@ class cmd_commit(_cmd_commit):
|
|||||||
ret = _cmd_commit.run(self, message=message, file=file, verbose=verbose,
|
ret = _cmd_commit.run(self, message=message, file=file, verbose=verbose,
|
||||||
selected_list=selected_list, unchanged=unchanged,
|
selected_list=selected_list, unchanged=unchanged,
|
||||||
strict=strict, local=local, fixes=fixes,
|
strict=strict, local=local, fixes=fixes,
|
||||||
author=author, show_diff=show_diff)
|
author=author, show_diff=show_diff, exclude=exclude)
|
||||||
if message and bug and action and nick and config:
|
if message and bug and action and nick and config:
|
||||||
self.close_bug(bug, action, url, config)
|
self.close_bug(bug, action, url, config)
|
||||||
return ret
|
return ret
|
||||||
|
Loading…
x
Reference in New Issue
Block a user