mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
fix PEP8 "E302 expected 2 blank lines, found 1"
This commit is contained in:
parent
2f2618e06c
commit
3f4f7a544b
16 changed files with 84 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ import common
|
|||
config = None
|
||||
options = None
|
||||
|
||||
|
||||
def update_awsbucket(repo_section):
|
||||
'''
|
||||
Upload the contents of the directory `repo_section` (including
|
||||
|
|
@ -113,6 +114,7 @@ def update_awsbucket(repo_section):
|
|||
else:
|
||||
logging.info(' skipping ' + s3url)
|
||||
|
||||
|
||||
def update_serverwebroot(repo_section):
|
||||
rsyncargs = ['rsync', '-u', '-r', '--delete']
|
||||
if options.verbose:
|
||||
|
|
@ -133,6 +135,7 @@ def update_serverwebroot(repo_section):
|
|||
[indexjar, config['serverwebroot'] + repo_section]) != 0:
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def main():
|
||||
global config, options
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue