mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
050583ba9d
commit
a939e721d1
@ -18,10 +18,12 @@ def get_opts_from_parser(parser):
|
|||||||
for x in opt._short_opts:
|
for x in opt._short_opts:
|
||||||
yield x
|
yield x
|
||||||
for o in parser.option_list:
|
for o in parser.option_list:
|
||||||
for x in do_opt(o): yield x
|
for x in do_opt(o):
|
||||||
|
yield x
|
||||||
for g in parser.option_groups:
|
for g in parser.option_groups:
|
||||||
for o in g.option_list:
|
for o in g.option_list:
|
||||||
for x in do_opt(o): yield x
|
for x in do_opt(o):
|
||||||
|
yield x
|
||||||
|
|
||||||
class Coffee(Command): # {{{
|
class Coffee(Command): # {{{
|
||||||
|
|
||||||
@ -255,7 +257,6 @@ class Resources(Command): # {{{
|
|||||||
with open(n, 'rb') as f:
|
with open(n, 'rb') as f:
|
||||||
zf.writestr(os.path.basename(n), f.read())
|
zf.writestr(os.path.basename(n), f.read())
|
||||||
|
|
||||||
|
|
||||||
dest = self.j(self.RESOURCES, 'ebook-convert-complete.pickle')
|
dest = self.j(self.RESOURCES, 'ebook-convert-complete.pickle')
|
||||||
files = []
|
files = []
|
||||||
for x in os.walk(self.j(self.SRC, 'calibre')):
|
for x in os.walk(self.j(self.SRC, 'calibre')):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user