Browse files

Fixed Python 3 syntax error introduced in [c72392d]

  • Loading branch information...
1 parent 67863b3 commit 498014ccd5f0ab6281e60fd29d754376aed93111 @timgraham timgraham committed Sep 6, 2013
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,), {

0 comments on commit 498014c

Please sign in to comment.