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 2.6.5 chokes on old-style class SAMLMessages #1

Open
guitarmanvt opened this issue Jul 22, 2011 · 0 comments
Open

Python 2.6.5 chokes on old-style class SAMLMessages #1

guitarmanvt opened this issue Jul 22, 2011 · 0 comments

Comments

@guitarmanvt
Copy link

In line 3 of SAMLMessages.py:


Causes Python 2.6.5 to issue a "Syntax Error" at the close parethesis. It seems to work fine in other Python versions.

I fixed it for myself by adding "object", like this:

Would you be opposed to using new-style python classes, instead of old-style?

I'm currently using PySAML in these two projects:
http://code.google.com/p/django-saml2-sp/
http://code.google.com/p/django-saml2-idp/

Thanks!

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

No branches or pull requests

1 participant