Skip to content

Commit

Permalink
Wrote fix for dictConfig in Python 2.6 #119
Browse files Browse the repository at this point in the history
  • Loading branch information
sebdah committed Feb 20, 2014
1 parent b6765d2 commit ea67304
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions dynamic_dynamodb/log_handler.py
Expand Up @@ -19,7 +19,8 @@
"""
import os.path
import logging
import logging.config

from logutils import dictconfig

import config_handler

Expand Down Expand Up @@ -94,6 +95,6 @@
LOG_CONFIG['loggers']['dynamic-dynamodb']['handlers'].append(
'file')

logging.config.dictConfig(LOG_CONFIG)
dictconfig.dictConfig(LOG_CONFIG)

LOGGER = logging.getLogger('dynamic-dynamodb')
3 changes: 2 additions & 1 deletion requirements.txt
@@ -1,2 +1,3 @@
boto>=2.21.0
requests>=0.14.1
requests>=0.14.1
logutils>=0.3.3
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -23,7 +23,8 @@
zip_safe=False,
install_requires=[
'boto >= 2.21.0',
'requests >= 0.14.1'
'requests >= 0.14.1',
'logutils >= 0.3.3'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down

0 comments on commit ea67304

Please sign in to comment.