mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 02:50:12 +01:00
Small fix to keysigning cleaning output
This commit is contained in:
parent
c4a5ced10a
commit
3372a5fb25
@ -1303,9 +1303,6 @@ def remove_signing_keys(build_dir):
|
|||||||
path = os.path.join(root, 'build.gradle')
|
path = os.path.join(root, 'build.gradle')
|
||||||
changed = False
|
changed = False
|
||||||
|
|
||||||
if options.verbose:
|
|
||||||
print "Cleaned build.gradle of keysigning configs at %s" % path
|
|
||||||
|
|
||||||
with open(path, "r") as o:
|
with open(path, "r") as o:
|
||||||
lines = o.readlines()
|
lines = o.readlines()
|
||||||
|
|
||||||
@ -1329,6 +1326,9 @@ def remove_signing_keys(build_dir):
|
|||||||
else:
|
else:
|
||||||
o.write(line)
|
o.write(line)
|
||||||
|
|
||||||
|
if changed and options.verbose:
|
||||||
|
print "Cleaned build.gradle of keysigning configs at %s" % path
|
||||||
|
|
||||||
for propfile in ('build.properties', 'default.properties', 'ant.properties'):
|
for propfile in ('build.properties', 'default.properties', 'ant.properties'):
|
||||||
if propfile in files:
|
if propfile in files:
|
||||||
path = os.path.join(root, propfile)
|
path = os.path.join(root, propfile)
|
||||||
|
Loading…
Reference in New Issue
Block a user