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/InfoExtractors.py | |
parent | 3aeb78ea4e5808e30a4f9b7d8496473ad842d7ac (diff) |
Replace long with int (see PEP 237)
Diffstat (limited to 'youtube_dl/InfoExtractors.py')
-rw-r--r-- | youtube_dl/InfoExtractors.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 0b0885cad..85ffad18c 100644 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -1456,7 +1456,7 @@ class YoutubeSearchIE(InfoExtractor): return else: try: - n = long(prefix) + n = int(prefix) if n <= 0: self._downloader.trouble(u'ERROR: invalid download number %s for query "%s"' % (n, query)) return @@ -1534,7 +1534,7 @@ class GoogleSearchIE(InfoExtractor): return else: try: - n = long(prefix) + n = int(prefix) if n <= 0: self._downloader.trouble(u'ERROR: invalid download number %s for query "%s"' % (n, query)) return @@ -1616,7 +1616,7 @@ class YahooSearchIE(InfoExtractor): return else: try: - n = long(prefix) + n = int(prefix) if n <= 0: self._downloader.trouble(u'ERROR: invalid download number %s for query "%s"' % (n, query)) return |