diff --git a/__init__.py b/__init__.py index caf151d..cbdb6b2 100644 --- a/__init__.py +++ b/__init__.py @@ -23,6 +23,8 @@ Copyright (C) 2001-2014 Vinay Sajip. All Rights Reserved. To use, simply 'import logging' and log away! """ +from __future__ import absolute_import + import sys, os, time, cStringIO, traceback, warnings, weakref, collections __all__ = ['BASIC_FORMAT', 'BufferingFormatter', 'CRITICAL', 'DEBUG', 'ERROR', diff --git a/config.py b/config.py index 8b37956..40e4704 100644 --- a/config.py +++ b/config.py @@ -24,6 +24,8 @@ Copyright (C) 2001-2014 Vinay Sajip. All Rights Reserved. To use, simply 'import logging' and log away! """ +from __future__ import absolute_import + import cStringIO import errno import io diff --git a/handlers.py b/handlers.py index e430ab7..f3fa559 100644 --- a/handlers.py +++ b/handlers.py @@ -23,6 +23,8 @@ Copyright (C) 2001-2013 Vinay Sajip. All Rights Reserved. To use, simply 'import logging.handlers' and log away! """ +from __future__ import absolute_import + import errno, logging, socket, os, cPickle, struct, time, re from stat import ST_DEV, ST_INO, ST_MTIME --