Replace long with int (see PEP 237)
This commit is contained in:
parent
3aeb78ea4e
commit
95649b3936
3 changed files with 9 additions and 9 deletions
|
@ -449,7 +449,7 @@ def _real_main():
|
|||
opts.ratelimit = numeric_limit
|
||||
if opts.retries is not None:
|
||||
try:
|
||||
opts.retries = long(opts.retries)
|
||||
opts.retries = int(opts.retries)
|
||||
except (TypeError, ValueError), err:
|
||||
parser.error(u'invalid retry count specified')
|
||||
if opts.buffersize is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue