From e85256e248755f1a0a5ddbe5572ec67604ff0b7f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 7 Dec 2018 11:19:26 +0100 Subject: [PATCH] verify: rename var remoteapk to remote_apk to fit other style --- fdroidserver/verify.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fdroidserver/verify.py b/fdroidserver/verify.py index 9e335563..053a730b 100644 --- a/fdroidserver/verify.py +++ b/fdroidserver/verify.py @@ -75,10 +75,10 @@ def main(): logging.info("Processing {apkfilename}".format(apkfilename=apkfilename)) - remoteapk = os.path.join(tmp_dir, apkfilename) - if not options.reuse_remote_apk or not os.path.exists(remoteapk): - if os.path.exists(remoteapk): - os.remove(remoteapk) + remote_apk = os.path.join(tmp_dir, apkfilename) + if not options.reuse_remote_apk or not os.path.exists(remote_apk): + if os.path.exists(remote_apk): + os.remove(remote_apk) url = 'https://f-droid.org/repo/' + apkfilename logging.info("...retrieving " + url) try: @@ -91,7 +91,7 @@ def main(): .format(url=url, error=e)) compare_result = common.verify_apks( - remoteapk, + remote_apk, os.path.join(unsigned_dir, apkfilename), tmp_dir) if compare_result: