Organized imports

This commit is contained in:
Dolph Mathews 2011-07-12 12:16:30 -05:00
parent 86522f9103
commit f71d2045ef
1 changed files with 3 additions and 8 deletions

View File

@ -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