1. Peter Sanchez
  2. webutils

Commits

Peter Sanchez  committed 1707c99

Fixed bug in parsing opts in restlib.

  • Participants
  • Parent commits cd65dd3
  • Branches trunk

Comments (0)

Files changed (2)

File webutils/__init__.py

View file
-__version__ = '0.9'
+__version__ = '0.9.1'

File webutils/restlib/restlib.py

View file
 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,