Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.5.1 compatibility: "except Exception, e:" to "except Exception as e:" #88

Open
AlexPython opened this issue Apr 21, 2016 · 0 comments

Comments

@AlexPython
Copy link

Django 1.9.4, Python 3.5.1 fails with invalid syntax errors:

  • machines.py, line 247
  • model_states,py, line 185
  • model_methods.py, line 210

Works fine when syntax changed to Python 3:
except Exception, e: replaced with except Exception as e:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant