Commits

Flavio Curella committed 41bb0a1

fixed subclassing Error on py3k

Comments (0)

Files changed (1)

timedelta/__init__.py

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