diff options
| author | Dolph Mathews <dolph.mathews@rackspace.com> | 2011-07-12 12:16:30 -0500 |
|---|---|---|
| committer | Dolph Mathews <dolph.mathews@rackspace.com> | 2011-07-12 12:16:30 -0500 |
| commit | f71d2045efbd404076cbcdd68bfe405d1d2560bd (patch) | |
| tree | 6312fd226f2d493c74bfd8dbd329970c15502454 | |
| parent | 86522f9103c87b02a4bd13e6d2655c2a1a2039ec (diff) | |
| download | keystone-f71d2045efbd404076cbcdd68bfe405d1d2560bd.tar.gz keystone-f71d2045efbd404076cbcdd68bfe405d1d2560bd.tar.xz keystone-f71d2045efbd404076cbcdd68bfe405d1d2560bd.zip | |
Organized imports
| -rwxr-xr-x | keystone/utils.py | 11 |
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 |
