diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-07-01 22:50:58 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-07-01 22:50:58 +0200 |
| commit | 72c65fea41a6a01f24e134e7627417d94746291a (patch) | |
| tree | 84c277f611f48bd6293112c0e5e63cd6e6e3949e /django/utils/log.py | |
| parent | e021b87c0009c11aa2e62b62fc40b4b0209a8e5d (diff) | |
Deprecated django.utils.dictconfig.
The module still exists for whoever uses it in its current state, but it
isn't imported by Django anywhere.
Diffstat (limited to 'django/utils/log.py')
| -rw-r--r-- | django/utils/log.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/django/utils/log.py b/django/utils/log.py index 6734a7261e..cb33378c07 100644 --- a/django/utils/log.py +++ b/django/utils/log.py @@ -16,12 +16,7 @@ except ImportError: def emit(self, record): pass -# Make sure that dictConfig is available -# This was added in Python 2.7/3.2 -try: - from logging.config import dictConfig -except ImportError: - from django.utils.dictconfig import dictConfig +from logging.config import dictConfig getLogger = logging.getLogger |
