from __future__ import absolute_import, unicode_literals

try:
    from .allauth import *
except ImportError:
    from .chinup import *

from .exceptions import *


__version__ = '0.1'


# Configure logging to avoid warning.
# https://docs.python.org/2/howto/logging.html#configuring-logging-for-a-library
import logging
if hasattr(logging, 'NullHandler'):
    logging.getLogger('chinup').addHandler(logging.NullHandler())

try:
    from .allauth import *
except ImportError:
    from .chinup import *

from .exceptions import *


__version__ = '0.1'

--- 
+++ 
@@ -1,3 +1,5 @@
+from __future__ import absolute_import, unicode_literals
+
 try:
     from .allauth import *
 except ImportError:
@@ -7,3 +9,10 @@
 
 
 __version__ = '0.1'
+
+
+# Configure logging to avoid warning.
+# https://docs.python.org/2/howto/logging.html#configuring-logging-for-a-library
+import logging
+if hasattr(logging, 'NullHandler'):
+    logging.getLogger('chinup').addHandler(logging.NullHandler())
Configure package-level logging to avoid warning.
