Skip to content

Commit

Permalink
prepare 0.4.25; fixes in discover module - moving logger definition up
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Mar 4, 2015
1 parent a4978d8 commit 1bb0bbd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions src/fobi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__title__ = 'django-fobi'
__version__ = '0.4.24'
__build__ = 0x000027
__version__ = '0.4.25'
__build__ = 0x000028
__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>'
__copyright__ = '2014-2015 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
Expand Down
4 changes: 2 additions & 2 deletions src/fobi/discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit 1bb0bbd

Please sign in to comment.