all: make newer pycodestyle happy

Apparently the "two empty lines" rule is now stricter.
This commit is contained in:
Daniel Martí 2016-11-15 20:55:06 +00:00
parent 8ee13a47e4
commit 82b1d7ad14
18 changed files with 29 additions and 0 deletions

View file

@ -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('''[/ :;'"]''')