mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
pylint: Reenable R1723 no-else-break
* R1723: Unnecessary "elif" after "break", remove the leading "el" from "elif" (no-else-break)
This commit is contained in:
parent
abc752314b
commit
1fbfae355a
3 changed files with 2 additions and 3 deletions
|
@ -623,7 +623,7 @@ def upload_apk_to_virustotal(virustotal_apikey, packageName, apkName, hash,
|
|||
+ str(response['positives']) + ' times:'
|
||||
+ '\n\t' + response['permalink'])
|
||||
break
|
||||
elif r.status_code == 204:
|
||||
if r.status_code == 204:
|
||||
logging.warning(_('virustotal.com is rate limiting, waiting to retry...'))
|
||||
time.sleep(30) # wait for public API rate limiting
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue