ensure _ is used only for gettext strings

_ is often used for variables that are ignored, this makes that a bit more
explicit
!338
This commit is contained in:
Hans-Christoph Steiner 2017-09-15 21:48:45 +02:00
parent 53e4ec47a7
commit 255932453c
3 changed files with 5 additions and 5 deletions

View file

@ -36,7 +36,7 @@ def extract_signature(apkpath):
raise FDroidException("no valid signature in '{}'".format(apkpath))
logging.debug('signature okay: %s', apkpath)
appid, vercode, _ = common.get_apk_id_aapt(apkpath)
appid, vercode, _ignored = common.get_apk_id_aapt(apkpath)
sigdir = common.metadata_get_sigdir(appid, vercode)
if not os.path.exists(sigdir):
os.makedirs(sigdir)