Replace long with int (see PEP 237)
[youtube-dl] / youtube_dl / __init__.py
index 4fed20d54b26bf0de666ca09873fa2cc28093992..54c7d7f72ed82051ad738f2039c9017ae9d58ad9 100644 (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: