This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
Use alternative imports for Python 2.4 (
Closes
#138
)
rtmp_test
Philipp Hagemeister
13 years ago
parent
134cff47ab
commit
0a3c8b6291
1 changed files
with
7 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-2
youtube-dl
+ 7
- 2
youtube-dl
View File
@ -12,9 +12,7 @@
from __future__ import with_statement
import contextlib
import cookielib
import ctypes
import datetime
import email.utils
import gzip
import htmlentitydefs
import httplib
@ -34,6 +32,13 @@ import urllib2
import warnings
import zlib
if os.name == 'nt':
import ctypes
try:
import email.utils
except ImportError: # Python 2.4
import email.Utils
try:
import cStringIO as StringIO
except ImportError:
Write
Preview
Loading…
Cancel
Save