diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 92e866a1..58c8d04c 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1886,6 +1886,6 @@ def clean_gradle_keys(path, verbose): opened += 1 elif '}' in line: opened -=1 - elif 'signingConfig' not in line: + elif not any(s in line for s in (' signingConfig ',)): o.write(line)