mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 15:02:51 +03:00
fix PEP8 "E225 missing whitespace around operator"
This commit is contained in:
parent
c54cabe741
commit
7e17fafc14
5 changed files with 6 additions and 6 deletions
|
@ -1055,7 +1055,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
|
|||
# from sdk.dir, if necessary
|
||||
if build['oldsdkloc']:
|
||||
sdkloc = re.match(r".*^sdk.dir=(\S+)$.*", props,
|
||||
re.S|re.M).group(1)
|
||||
re.S | re.M).group(1)
|
||||
props += "sdk-location=%s\n" % sdkloc
|
||||
else:
|
||||
props += "sdk.dir=%s\n" % config['sdk_path']
|
||||
|
|
|
@ -51,7 +51,7 @@ def getrepofrompage(url):
|
|||
return (repotype, repo)
|
||||
|
||||
# Works for Google Code and BitBucket...
|
||||
index=page.find('git clone')
|
||||
index = page.find('git clone')
|
||||
if index != -1:
|
||||
repotype = 'git'
|
||||
repo = page[index + 10:]
|
||||
|
@ -63,7 +63,7 @@ def getrepofrompage(url):
|
|||
return (repotype, repo)
|
||||
|
||||
# Google Code only...
|
||||
index=page.find('svn checkout')
|
||||
index = page.find('svn checkout')
|
||||
if index != -1:
|
||||
repotype = 'git-svn'
|
||||
repo = page[index + 13:]
|
||||
|
|
|
@ -98,7 +98,7 @@ def main():
|
|||
for dev in devs:
|
||||
logging.info("Installing %s on %s..." % (apk, dev))
|
||||
p = FDroidPopen(["adb", "-s", dev, "install", apk])
|
||||
fail= ""
|
||||
fail = ""
|
||||
for line in p.stdout.splitlines():
|
||||
if line.startswith("Failure"):
|
||||
fail = line[9:-1]
|
||||
|
|
|
@ -128,7 +128,7 @@ def main():
|
|||
p = FDroidPopen(['keytool', '-list',
|
||||
'-alias', keyalias, '-keystore', config['keystore'],
|
||||
'-storepass:file', config['keystorepassfile']])
|
||||
if p.returncode !=0:
|
||||
if p.returncode != 0:
|
||||
logging.info("Key does not exist - generating...")
|
||||
p = FDroidPopen(['keytool', '-genkey',
|
||||
'-keystore', config['keystore'], '-alias', keyalias,
|
||||
|
|
|
@ -879,7 +879,7 @@ def main():
|
|||
parser.add_option("-I", "--icons", action="store_true", default=False,
|
||||
help="Resize all the icons exceeding the max pixel size and exit")
|
||||
parser.add_option("-e", "--editor", default="/etc/alternatives/editor",
|
||||
help="Specify editor to use in interactive mode. Default "+
|
||||
help="Specify editor to use in interactive mode. Default " +
|
||||
"is /etc/alternatives/editor")
|
||||
parser.add_option("-w", "--wiki", default=False, action="store_true",
|
||||
help="Update the wiki")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue