summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@rackspace.com>2011-07-12 12:16:30 -0500
committerDolph Mathews <dolph.mathews@rackspace.com>2011-07-12 12:16:30 -0500
commitf71d2045efbd404076cbcdd68bfe405d1d2560bd (patch)
tree6312fd226f2d493c74bfd8dbd329970c15502454
parent86522f9103c87b02a4bd13e6d2655c2a1a2039ec (diff)
downloadkeystone-f71d2045efbd404076cbcdd68bfe405d1d2560bd.tar.gz
keystone-f71d2045efbd404076cbcdd68bfe405d1d2560bd.tar.xz
keystone-f71d2045efbd404076cbcdd68bfe405d1d2560bd.zip
Organized imports
-rwxr-xr-xkeystone/utils.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/keystone/utils.py b/keystone/utils.py
index 88164d21..321381ff 100755
--- a/keystone/utils.py
+++ b/keystone/utils.py
@@ -15,17 +15,12 @@
# limitations under the License.
-import functools
-import logging
import os
import sys
-from webob import Response
+import logging
+import functools
-POSSIBLE_TOPDIR = os.path.normpath(os.path.join(os.path.abspath(sys.argv[0]),
- os.pardir,
- os.pardir))
-if os.path.exists(os.path.join(POSSIBLE_TOPDIR, 'keystone', '__init__.py')):
- sys.path.insert(0, POSSIBLE_TOPDIR)
+from webob import Response
import keystone.logic.types.fault as fault