From: W. Trevor King Date: Sat, 14 Aug 2010 13:08:43 +0000 (-0400) Subject: Add logging import to hooke.ui X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=59c1361838712ee16b273fdb77bdce14ad9d495c;p=hooke.git Add logging import to hooke.ui --- diff --git a/hooke/ui/__init__.py b/hooke/ui/__init__.py index 774a151..ec2867e 100644 --- a/hooke/ui/__init__.py +++ b/hooke/ui/__init__.py @@ -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):