[Python-modules-commits] [python-passlib] 01/03: Disable Django support
Brian May
bam at moszumanska.debian.org
Sun Jan 3 04:08:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
bam pushed a commit to branch master
in repository python-passlib.
commit e2baea202293841719092c0dd984695571f157b3
Author: Brian May <bam at debian.org>
Date: Sun Jan 3 14:37:23 2016 +1100
Disable Django support
It is currently broken with Django 1.9, see
https://bitbucket.org/ecollins/passlib/issues/68/tests-fail-with-django-19
---
passlib/ext/django/utils.py | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/passlib/ext/django/utils.py b/passlib/ext/django/utils.py
index 863f11e..51830f4 100644
--- a/passlib/ext/django/utils.py
+++ b/passlib/ext/django/utils.py
@@ -7,12 +7,9 @@ import logging; log = logging.getLogger(__name__)
from weakref import WeakKeyDictionary
from warnings import warn
# site
-try:
- from django import VERSION as DJANGO_VERSION
- log.debug("found django %r installation", DJANGO_VERSION)
-except ImportError:
- log.debug("django installation not found")
- DJANGO_VERSION = ()
+log.debug("Django support disabled by Debian package")
+log.debug("See https://bitbucket.org/ecollins/passlib/issues/68/tests-fail-with-django-19")
+DJANGO_VERSION = ()
# pkg
from passlib.context import CryptContext
from passlib.exc import PasslibRuntimeWarning
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-passlib.git
More information about the Python-modules-commits
mailing list