"""
Compatibility...
"""

import sys

py3k = sys.version_info >= (3, 0)

if py3k: # pragma: no cover
    string_compare = str
else: # pragma: no cover
    string_compare = (str, unicode)

if py3k: # pragma: no cover
    from urllib.parse import urlencode # pylint: disable=W0611,F0401,W0611,E0611
    from urllib import Request # pylint: disable=W0611,F0401,W0611,E0611
    from urllib.error import HTTPError # pylint: disable=W0611,F0401,W0611,E0611
else: # pragma: no cover
    from urllib import urlencode # pylint: disable=W0611,F0401,W0611,E0611
    from urllib2 import Request # pylint: disable=W0611,F0401,W0611,E0611
    from urllib2 import HTTPError # pylint: disable=W0611,F0401,W0611,E0611

@@ -297,32 +297,40 @@
 %0A    from urllib
+.request
  import Request 

Fix Py3k Request