From 44fa5352360b78696c3d81cafa8e24eaa4f6c3ed Mon Sep 17 00:00:00 2001 From: ianb Date: Fri, 20 Oct 2006 22:08:05 +0000 Subject: 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. --- paste/request.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'paste/request.py') 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', -- cgit v1.2.1