From: Michael Pöhn Date: Sun, 23 Apr 2017 09:33:51 +0000 (+0200) Subject: remove build output when not reproducible X-Git-Tag: 0.8~71^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=fc4e40255d2a387dfba269b201a25684f0833a41;p=fdroidserver.git remove build output when not reproducible --- diff --git a/fdroidserver/build.py b/fdroidserver/build.py index c16bd182..f0f027be 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -1231,6 +1231,10 @@ def main(): compare_result = \ common.verify_apks(of, unsigned_apk, tmpdir) if compare_result: + logging.debug('removing %s', unsigned_apk) + os.remove(unsigned_apk) + logging.debug('removing %s', of) + os.remove(of) compare_result = compare_result.split('\n') line_count = len(compare_result) compare_result = compare_result[:299]