From 654867c3cf46ca8dcf21666dcb1d968d621eda0d Mon Sep 17 00:00:00 2001 From: Jacob Magnusson Date: Mon, 20 May 2013 11:22:59 +0200 Subject: [PATCH] PEP 3110 compat --- imagekit/management/commands/generateimages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagekit/management/commands/generateimages.py b/imagekit/management/commands/generateimages.py index 099fe3d..444440a 100644 --- a/imagekit/management/commands/generateimages.py +++ b/imagekit/management/commands/generateimages.py @@ -27,7 +27,7 @@ well as "a:b" and "a:b:c".""") try: # TODO: Allow other validation actions through command option file.generate() - except Exception, err: + except Exception as err: # TODO: How should we handle failures? Don't want to error, but should call it out more than this. self.stdout.write(' FAILED: %s\n' % err)