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)