mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-27 17:03:21 +02:00
Fix bug in completion
This commit is contained in:
parent
9178ddf18e
commit
f0d5eac2f4
1 changed files with 3 additions and 1 deletions
4
setup.py
4
setup.py
|
|
@ -142,7 +142,7 @@ def _ep_to_function(ep):
|
|||
|
||||
import os
|
||||
def options(parse_options):
|
||||
options, args, parser = parse_options(['dummy'], cli=False)
|
||||
options, args, parser = parse_options(['dummy'])
|
||||
options = parser.option_list
|
||||
for group in parser.option_groups:
|
||||
options += group.option_list
|
||||
|
|
@ -282,6 +282,8 @@ def opts_and_exts(name, op, exts):
|
|||
f.close()
|
||||
print 'done'
|
||||
except:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
print 'failed'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue