mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
parent
96851834cd
commit
4d95f18455
@ -145,6 +145,10 @@ def debug_device_driver():
|
|||||||
print dev
|
print dev
|
||||||
print msg
|
print msg
|
||||||
print
|
print
|
||||||
|
if isosx and os.path.exists('/tmp/ioreg.txt'):
|
||||||
|
print
|
||||||
|
print
|
||||||
|
print "Don't forget to send the file /tmp/ioreg.txt as well"
|
||||||
|
|
||||||
|
|
||||||
def add_simple_plugin(path_to_plugin):
|
def add_simple_plugin(path_to_plugin):
|
||||||
|
@ -194,6 +194,7 @@ def cli_docs(app):
|
|||||||
for script in entry_points['console_scripts']:
|
for script in entry_points['console_scripts']:
|
||||||
module = script[script.index('=')+1:script.index(':')].strip()
|
module = script[script.index('=')+1:script.index(':')].strip()
|
||||||
cmd = script[:script.index('=')].strip()
|
cmd = script[:script.index('=')].strip()
|
||||||
|
if cmd in ('calibre-complete', 'calibre-parallel'): continue
|
||||||
module = __import__(module, fromlist=[module.split('.')[-1]])
|
module = __import__(module, fromlist=[module.split('.')[-1]])
|
||||||
if hasattr(module, 'option_parser'):
|
if hasattr(module, 'option_parser'):
|
||||||
documented_cmds.append((cmd, getattr(module, 'option_parser')()))
|
documented_cmds.append((cmd, getattr(module, 'option_parser')()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user