Add logging import to hooke.ui
[hooke.git] / hooke / ui / __init__.py
index 774a1511e10c2c4c3dc2665437b96feeb816c7b3..ec2867ecc0a05204fe47439df08e93ac7b56ad00 100644 (file)
@@ -20,6 +20,7 @@
 """
 
 import ConfigParser as configparser
+import logging
 
 from .. import version
 from ..config import Setting
@@ -28,7 +29,6 @@ from ..util.pluggable import IsSubclass, construct_odict
 try:
     from ..license import short_license
 except ImportError, e:
-    import logging
     logging.warn('Could not load short_license from hooke.license')
     from .. import __license__
     def short_license(extra_info, **kwargs):