~gary/python-openid/python-openid-2.2.1-patched

« back to all changes in this revision

Viewing changes to openid/association.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2007-12-10 10:29:01 UTC
  • mfrom: (2.1.2 pyopenid-2.1)
  • Revision ID: launchpad@pqm.canonical.com-20071210102901-f5mk3xr5ggx0vtwh
[rs=jamesh] Upgrade to python-openid-2.1 for better support of final OpenID 2.0 standard

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
    """
136
136
 
137
137
    def __init__(self, allowed_types):
138
 
        self.allowed_types = allowed_types
 
138
        self.setAllowedTypes(allowed_types)
139
139
 
140
140
    def copy(self):
141
141
        return self.__class__(list(self.allowed_types))