Commits

Flavio Curella committed dbe7c53

fixed subclassing Error on py3k

  • Participants
  • Parent commits 45f0ed7
  • Branches packaging

Comments (0)

Files changed (1)

File timedelta/__init__.py

 try:
     from django.core.exceptions import ImproperlyConfigured
 except ImportError:
-    ImproperlyConfigured = None
+    ImproperlyConfigured = ImportError
 
 try:
     from .fields import TimedeltaField