aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/InfoExtractors.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-11-27 19:05:03 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2012-11-27 19:05:03 +0100
commit95649b3936e10a48c4a5009eecfb7647756bde39 (patch)
tree299976fa5e3fdc2b4053de6cf304ff2f47cabd62 /youtube_dl/InfoExtractors.py
parent3aeb78ea4e5808e30a4f9b7d8496473ad842d7ac (diff)
Replace long with int (see PEP 237)
Diffstat (limited to 'youtube_dl/InfoExtractors.py')
-rw-r--r--youtube_dl/InfoExtractors.py6
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