Skip to content

Python 2.6.5 chokes on old-style class SAMLMessages #1

@guitarmanvt

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!

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