standardize naming in strings and comments on all caps APK

This commit is contained in:
Hans-Christoph Steiner 2021-01-29 15:28:55 +01:00
parent 97d5933a05
commit 63be6f6347
47 changed files with 408 additions and 408 deletions

View file

@ -1442,14 +1442,14 @@ def scan_apk_androguard(apk, apkfile):
else:
if options.delete_unknown:
if os.path.exists(apkfile):
logging.error(_("Failed to get apk information, deleting {path}")
logging.error(_("Failed to get APK information, deleting {path}")
.format(path=apkfile))
os.remove(apkfile)
else:
logging.error(_("Could not find {path} to remove it")
.format(path=apkfile))
else:
logging.error(_("Failed to get apk information, skipping {path}")
logging.error(_("Failed to get APK information, skipping {path}")
.format(path=apkfile))
raise BuildException(_("Invalid APK"))
except (FileNotFoundError, zipfile.BadZipFile) as e: