Mercurial > p > roundup > code
changeset 3115:ece73371713c
fix Permission.__repr__()
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Wed, 26 Jan 2005 17:27:21 +0000 |
| parents | a7657b3cd22a |
| children | 460eb0209a9e |
| files | roundup/security.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/security.py Sat Jan 15 06:56:38 2005 +0000 +++ b/roundup/security.py Wed Jan 26 17:27:21 2005 +0000 @@ -57,7 +57,7 @@ def __repr__(self): return '<Permission 0x%x %r,%r,%r,%r>'%(id(self), self.name, - self.klass, self.property, self.check) + self.klass, self.properties, self.check) class Role: ''' Defines a Role with the attributes @@ -201,7 +201,7 @@ 'rolename' is the name of the role to add the permission to. 'permission' is either a Permission *or* a permission name - accompanied by 'classname' (thus in the second case a Permission + accompanied by 'classname' (thus in the second case a Permission is obtained by passing 'permission' and 'classname' to self.getPermission) '''
