diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2012-11-27 19:05:03 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2012-11-27 19:05:03 +0100 |
commit | 95649b3936e10a48c4a5009eecfb7647756bde39 (patch) | |
tree | 299976fa5e3fdc2b4053de6cf304ff2f47cabd62 /youtube_dl/__init__.py | |
parent | 3aeb78ea4e5808e30a4f9b7d8496473ad842d7ac (diff) |
Replace long with int (see PEP 237)
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r-- | youtube_dl/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index 4fed20d54..54c7d7f72 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -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: |