mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 07:22:29 +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
|
@ -1273,6 +1273,7 @@ def getsrclib(spec, srclib_dir, subdir=None, basepath=False,
|
|||
|
||||
return (name, number, libdir)
|
||||
|
||||
|
||||
gradle_version_regex = re.compile(r"[^/]*'com\.android\.tools\.build:gradle:([^\.]+\.[^\.]+).*'.*")
|
||||
|
||||
|
||||
|
@ -1879,6 +1880,7 @@ def place_srclib(root_dir, number, libpath):
|
|||
if not placed:
|
||||
o.write('android.library.reference.%d=%s\n' % (number, relpath))
|
||||
|
||||
|
||||
apk_sigfile = re.compile(r'META-INF/[0-9A-Za-z]+\.(SF|RSA|DSA|EC)')
|
||||
|
||||
|
||||
|
@ -1913,6 +1915,7 @@ def verify_apks(signed_apk, unsigned_apk, tmp_dir):
|
|||
logging.info("...successfully verified")
|
||||
return None
|
||||
|
||||
|
||||
apk_badchars = re.compile('''[/ :;'"]''')
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue