equal
deleted
inserted
replaced
22 import os |
22 import os |
23 import stat |
23 import stat |
24 import urllib |
24 import urllib |
25 import urllib2 |
25 import urllib2 |
26 import email.Utils |
26 import email.Utils |
27 |
|
28 try: |
|
29 from cStringIO import StringIO |
|
30 except ImportError, msg: |
|
31 from StringIO import StringIO |
|
32 |
27 |
33 class RangeError(IOError): |
28 class RangeError(IOError): |
34 """Error raised when an unsatisfiable range is requested.""" |
29 """Error raised when an unsatisfiable range is requested.""" |
35 pass |
30 pass |
36 |
31 |