Replace long with int (see PEP 237)

This commit is contained in:
Philipp Hagemeister 2012-11-27 19:05:03 +01:00
parent 3aeb78ea4e
commit 95649b3936
3 changed files with 9 additions and 9 deletions

View file

@ -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: