Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed Python 3 syntax error introduced in [c72392d]

  • Loading branch information...
commit 498014ccd5f0ab6281e60fd29d754376aed93111 1 parent 67863b3
@timgraham timgraham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/serializers/__init__.py
View
2  django/core/serializers/__init__.py
@@ -68,7 +68,7 @@ def register_serializer(format, serializer_module, serializers=None):
try:
module = importlib.import_module(serializer_module)
- except ImportError, exc:
+ except ImportError as exc:
bad_serializer = BadSerializer(exc)
module = type('BadSerializerModule', (object,), {
Please sign in to comment.
Something went wrong with that request. Please try again.