mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
a210f681a7
commit
8d0a9fa2e9
@ -184,7 +184,8 @@ class UploadUserManual(Command): # {{{
|
||||
with CurrentDir(path):
|
||||
with ZipFile(f, 'w') as zf:
|
||||
for x in os.listdir('.'):
|
||||
if x.endswith('.swp'): continue
|
||||
if x.endswith('.swp'):
|
||||
continue
|
||||
zf.write(x)
|
||||
if os.path.isdir(x):
|
||||
for y in os.listdir(x):
|
||||
@ -236,7 +237,7 @@ class UploadToServer(Command): # {{{
|
||||
shell=True)
|
||||
check_call('ssh divok /usr/local/bin/update-calibre',
|
||||
shell=True)
|
||||
check_call('''ssh divok echo %s \\> %s/latest_version'''\
|
||||
check_call('''ssh divok echo %s \\> %s/latest_version'''
|
||||
%(__version__, DOWNLOADS), shell=True)
|
||||
check_call('ssh divok /etc/init.d/apache2 graceful',
|
||||
shell=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user