mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
fix string formats that are ambiguous for translators
This commit is contained in:
parent
255932453c
commit
6c7b987239
10 changed files with 106 additions and 85 deletions
|
|
@ -71,7 +71,7 @@ def main():
|
|||
|
||||
try:
|
||||
|
||||
logging.info("Processing " + apkfilename)
|
||||
logging.info("Processing {apkfilename}".format(apkfilename=apkfilename))
|
||||
|
||||
remoteapk = os.path.join(tmp_dir, apkfilename)
|
||||
if os.path.exists(remoteapk):
|
||||
|
|
@ -84,7 +84,8 @@ def main():
|
|||
try:
|
||||
net.download_file(url.replace('/repo', '/archive'), dldir=tmp_dir)
|
||||
except requests.exceptions.HTTPError as e:
|
||||
raise FDroidException(_('Downloading %s failed. %s'), (url, e))
|
||||
raise FDroidException(_('Downloading {url} failed. {error}')
|
||||
.format(url=url, error=e))
|
||||
|
||||
compare_result = common.verify_apks(
|
||||
remoteapk,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue