Hacked By AnonymousFox
�
�Q�f� � �� � d Z ddlmZmZ ddlmZmZmZmZm Z m
Z
mZ dg d�fdg d�fdd gfgdg d
�fdddgfgd
�Zed j ed d � d� Z G d� de� Zy)z�Fix changes imports of urllib which are now incompatible.
This is rather similar to fix_imports, but because of the more
complex nature of the fixing for urllib, it has its own fixer.
� )�
alternates�
FixImports)�Name�Comma�
FromImport�Newline�find_indentation�Node�symszurllib.request) � URLopener�FancyURLopener�urlretrieve�
_urlopener�urlopen�
urlcleanup�pathname2url�url2pathname�
getproxieszurllib.parse)�quote�
quote_plus�unquote�unquote_plus� urlencode� splitattr� splithost�
splitnport�splitpasswd� splitport�
splitquery�splittag� splittype� splituser�
splitvaluezurllib.error�ContentTooShortError)r �install_opener�build_opener�Request�OpenerDirector�BaseHandler�HTTPDefaultErrorHandler�HTTPRedirectHandler�HTTPCookieProcessor�ProxyHandler�HTTPPasswordMgr�HTTPPasswordMgrWithDefaultRealm�AbstractBasicAuthHandler�HTTPBasicAuthHandler�ProxyBasicAuthHandler�AbstractDigestAuthHandler�HTTPDigestAuthHandler�ProxyDigestAuthHandler�HTTPHandler�HTTPSHandler�FileHandler�
FTPHandler�CacheFTPHandler�UnknownHandler�URLError� HTTPError)�urllib�urllib2r? r>