From 1bb0bbdfb531e2b88eac30f38cd69312214be459 Mon Sep 17 00:00:00 2001 From: Artur Barseghyan Date: Wed, 4 Mar 2015 01:45:08 +0100 Subject: [PATCH] prepare 0.4.25; fixes in discover module - moving logger definition up --- CHANGELOG.rst | 6 ++++++ setup.py | 2 +- src/fobi/__init__.py | 4 ++-- src/fobi/discover.py | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 92110d15a..e54c5c388 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,6 +15,12 @@ are used for versioning (schema follows below): 0.3.4 to 0.4). - All backwards incompatible changes are mentioned in this document. +0.4.25 +------------------------------------- +2015-03-04 + +- Post-fix in the discover module (moved logging definition up). + 0.4.24 ------------------------------------- 2015-03-04 diff --git a/setup.py b/setup.py index d0ffdaea3..4b7e48f4b 100644 --- a/setup.py +++ b/setup.py @@ -63,7 +63,7 @@ for locale_dir in locale_dirs: locale_files += [os.path.join(locale_dir, f) for f in os.listdir(locale_dir)] -version = '0.4.24' +version = '0.4.25' install_requires = [ 'Pillow>=2.0.0', diff --git a/src/fobi/__init__.py b/src/fobi/__init__.py index 6d0e22288..49e991351 100644 --- a/src/fobi/__init__.py +++ b/src/fobi/__init__.py @@ -1,6 +1,6 @@ __title__ = 'django-fobi' -__version__ = '0.4.24' -__build__ = 0x000027 +__version__ = '0.4.25' +__build__ = 0x000028 __author__ = 'Artur Barseghyan ' __copyright__ = '2014-2015 Artur Barseghyan' __license__ = 'GPL 2.0/LGPL 2.1' diff --git a/src/fobi/discover.py b/src/fobi/discover.py index 3cff65d47..dacce97fe 100644 --- a/src/fobi/discover.py +++ b/src/fobi/discover.py @@ -11,6 +11,8 @@ from nine.versions import DJANGO_GTE_1_7 +logger = logging.getLogger(__file__) + # In Django a dotted path can be used up to the app config class. In # such cases the old-school autodiscovery of modules doesn't work but we # have a great Django `autodiscover_modules` tool then. In cases if Django @@ -37,8 +39,6 @@ def autodiscover_modules(module_name): from fobi.conf import get_setting -logger = logging.getLogger(__file__) - def autodiscover(): """ Autodiscovers files that should be found by fobi.