diff --git a/wsme/rest/protocol.py b/wsme/rest/protocol.py index ff53528..dcd479a 100644 --- a/wsme/rest/protocol.py +++ b/wsme/rest/protocol.py @@ -1,7 +1,7 @@ +from collections import OrderedDict import os.path import logging -from wsme.utils import OrderedDict from wsme.protocol import CallContext, Protocol, media_type_accept import wsme.rest diff --git a/wsme/utils.py b/wsme/utils.py index d63d8b1..a8e2c8b 100644 --- a/wsme/utils.py +++ b/wsme/utils.py @@ -111,9 +111,3 @@ def is_valid_code(code_value): def is_client_error(code): """ Checks client error code (RFC 2616).""" return 400 <= code < 500 - - -try: - from collections import OrderedDict -except ImportError: - from ordereddict import OrderedDict # noqa