mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
fix PEP8 "E226 missing whitespace around arithmetic operator"
This commit is contained in:
parent
0e00b36db5
commit
37d6d87ff7
8 changed files with 25 additions and 23 deletions
|
@ -604,12 +604,14 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
||||||
if 'target' in thisbuild:
|
if 'target' in thisbuild:
|
||||||
target = thisbuild["target"].split('-')[1]
|
target = thisbuild["target"].split('-')[1]
|
||||||
FDroidPopen(['sed', '-i',
|
FDroidPopen(['sed', '-i',
|
||||||
's@<platform>[0-9]*</platform>@<platform>'+target+'</platform>@g',
|
's@<platform>[0-9]*</platform>@<platform>'
|
||||||
|
+ target + '</platform>@g',
|
||||||
'pom.xml'],
|
'pom.xml'],
|
||||||
cwd=root_dir)
|
cwd=root_dir)
|
||||||
if '@' in thisbuild['maven']:
|
if '@' in thisbuild['maven']:
|
||||||
FDroidPopen(['sed', '-i',
|
FDroidPopen(['sed', '-i',
|
||||||
's@<platform>[0-9]*</platform>@<platform>'+target+'</platform>@g',
|
's@<platform>[0-9]*</platform>@<platform>'
|
||||||
|
+ target + '</platform>@g',
|
||||||
'pom.xml'],
|
'pom.xml'],
|
||||||
cwd=maven_dir)
|
cwd=maven_dir)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue