Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.6.x] Fixed Python 3 syntax error introduced in [c72392d]

Backport of 498014c from master
  • Loading branch information...
commit 6ba01f64c1e5baf1e876cabd3d625ad53f39a5e4 1 parent 3df9647
Tim Graham authored September 06, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/core/serializers/__init__.py
2  django/core/serializers/__init__.py
@@ -67,7 +67,7 @@ def register_serializer(format, serializer_module, serializers=None):
67 67
 
68 68
     try:
69 69
         module = importlib.import_module(serializer_module)
70  
-    except ImportError, exc:
  70
+    except ImportError as exc:
71 71
         bad_serializer = BadSerializer(exc)
72 72
 
73 73
         module = type('BadSerializerModule', (object,), {

0 notes on commit 6ba01f6

Please sign in to comment.
Something went wrong with that request. Please try again.