diff options
author | ianb <devnull@localhost> | 2006-10-20 22:08:05 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-10-20 22:08:05 +0000 |
commit | 44fa5352360b78696c3d81cafa8e24eaa4f6c3ed (patch) | |
tree | ccde2c446f352cb5344f3c9a40090f12290bf9a7 /paste/request.py | |
parent | 9eadab4b64440958f99a2fa1798227bb4a53193c (diff) | |
download | paste-44fa5352360b78696c3d81cafa8e24eaa4f6c3ed.tar.gz |
A big commit, primarily aesthetic/whitespace in nature. This is the result of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up.
Diffstat (limited to 'paste/request.py')
-rw-r--r-- | paste/request.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/paste/request.py b/paste/request.py index dc3f20a..405011b 100644 --- a/paste/request.py +++ b/paste/request.py @@ -18,11 +18,13 @@ environment to solve common requirements. """ import cgi -import textwrap from Cookie import SimpleCookie from StringIO import StringIO import urlparse -from util.UserDict24 import DictMixin, IterableUserDict, UserDict +try: + from UserDict import DictMixin +except ImportError: + from paste.util.UserDict24 import DictMixin from paste.util.multidict import MultiDict __all__ = ['get_cookies', 'get_cookie_dict', 'parse_querystring', |