Move to python3 style except.

This commit is contained in:
Ahmed Charles 2015-10-18 21:45:54 +00:00 committed by Griatch
parent 0493dc0b4e
commit 0384fcc63d
24 changed files with 47 additions and 47 deletions

View file

@ -208,7 +208,7 @@ its and @/./+/-/_ only.") # this echoes the restrictions made by django's auth m
new_player = create.create_player(playername, email, password,
permissions=permissions)
except Exception, e:
except Exception as e:
session.msg("There was an error creating the default Player/Character:\n%s\n If this problem persists, contact an admin." % e)
logger.log_trace()
return