Browse Source

[codacy] do not redefine built-in 'list'

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/34/head
R4SAS 3 years ago
parent
commit
58645e1d32
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 4
      pbincli/actions.py

4
pbincli/actions.py

@ -96,8 +96,8 @@ def send(args, api_client, settings=None):
# Print links to mirrors if present # Print links to mirrors if present
if settings['mirrors']: if settings['mirrors']:
print("\nMirrors:") print("\nMirrors:")
list = settings['mirrors'].split(',') urls = settings['mirrors'].split(',')
for x in list: for x in urls:
print("\t\t{}?{}#{}".format( print("\t\t{}?{}#{}".format(
validate_url(x), validate_url(x),
result['id'], result['id'],

Loading…
Cancel
Save