mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
all: make newer pycodestyle happy
Apparently the "two empty lines" rule is now stricter.
This commit is contained in:
parent
8ee13a47e4
commit
82b1d7ad14
18 changed files with 29 additions and 0 deletions
|
@ -44,6 +44,7 @@ def vagrant(params, cwd=None, printout=False):
|
|||
out = p.communicate()[0]
|
||||
return (p.returncode, out)
|
||||
|
||||
|
||||
boxfile = 'buildserver.box'
|
||||
serverdir = 'buildserver'
|
||||
|
||||
|
@ -303,6 +304,7 @@ def sha256_for_file(path):
|
|||
s.update(data)
|
||||
return s.hexdigest()
|
||||
|
||||
|
||||
for srcurl, shasum in cachefiles:
|
||||
filename = os.path.basename(srcurl)
|
||||
local_filename = os.path.join(cachedir, filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue