Skip to content

Python 2.6.5 chokes on old-style class SAMLMessages #1

Description

@guitarmanvt

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!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions