X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fcompat.py;h=e989cdbbd180abf4543726e86d088cd45225bfca;hb=3eff81fbf72939abf885afcca2f1155cc976999b;hp=ec685d50e2b27d5aef32cf97ab7cc33d3f8a7fac;hpb=8f9312c38779f4e0746c01ef9a8a93ab4767699b;p=youtube-dl.git diff --git a/youtube_dl/compat.py b/youtube_dl/compat.py index ec685d50e..e989cdbbd 100644 --- a/youtube_dl/compat.py +++ b/youtube_dl/compat.py @@ -120,9 +120,9 @@ except NameError: compat_str = str try: - compat_basestr = basestring # Python 2 + compat_basestring = basestring # Python 2 except NameError: - compat_basestr = str + compat_basestring = str try: compat_chr = unichr # Python 2 @@ -367,6 +367,7 @@ def workaround_optparse_bug9161(): __all__ = [ 'compat_HTTPError', + 'compat_basestring', 'compat_chr', 'compat_cookiejar', 'compat_expanduser',