From f63ea05f7c36ece6aad0fdc8e02f4d5d30c673a3 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Sun, 17 Feb 2013 15:22:44 +0000 Subject: Use oslo-config-2013.1b3 The cfg API is now available via the oslo-config library, so switch to it and remove the copied-and-pasted version. Add the 2013.1b3 tarball to tools/pip-requires - this will be changed to 'oslo-config>=2013.1' when oslo-config is published to pypi. This will happen in time for grizzly final. Remove the 'deps = pep8==1.3.3' and 'deps = pyflakes' from tox.ini as it means all the other deps get installed with easy_install which can't install oslo-config from the URL. Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc --- openstack/common/wsgi.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'openstack/common/wsgi.py') diff --git a/openstack/common/wsgi.py b/openstack/common/wsgi.py index f97d24e..6ffbce1 100644 --- a/openstack/common/wsgi.py +++ b/openstack/common/wsgi.py @@ -17,24 +17,24 @@ """Utility methods for working with WSGI servers.""" -import datetime -import errno import eventlet -import eventlet.wsgi - eventlet.patcher.monkey_patch(all=False, socket=True) -import routes -import routes.middleware +import datetime +import errno import socket import sys import time + +import eventlet.wsgi +from oslo.config import cfg +import routes +import routes.middleware import webob.dec import webob.exc from xml.dom import minidom from xml.parsers import expat -from openstack.common import cfg from openstack.common import exception from openstack.common.gettextutils import _ from openstack.common import jsonutils -- cgit