1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

Small fix to keysigning cleaning output

This commit is contained in:
Daniel Martí 2013-11-20 19:08:59 +01:00
parent c4a5ced10a
commit 3372a5fb25

View File

@ -1303,9 +1303,6 @@ def remove_signing_keys(build_dir):
path = os.path.join(root, 'build.gradle')
changed = False
if options.verbose:
print "Cleaned build.gradle of keysigning configs at %s" % path
with open(path, "r") as o:
lines = o.readlines()
@ -1329,6 +1326,9 @@ def remove_signing_keys(build_dir):
else:
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'):
if propfile in files:
path = os.path.join(root, propfile)