Commits

Peter Sanchez committed 1707c99

Fixed bug in parsing opts in restlib.

Comments (0)

Files changed (2)

-__version__ = '0.9'
+__version__ = '0.9.1'

webutils/restlib/restlib.py

 from filters import Filters
 from socket import _GLOBAL_DEFAULT_TIMEOUT as default_timeout
 from webutils.helpers import encode_dict
+from webutils import __version__ as web_ver
 
 
 class BaseResponse(object):
             self.headers.update(headers)
 
         if opts:
-            path += '?%s' % urlencode(opts)
+            path += '?%s' % urllib.urlencode(opts)
         
         conn_cls = getattr(
             httplib,