Mercurial > p > roundup > code
changeset 3114:090abbcc7b19 maint-0.8
fix Permission.__repr__()
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Wed, 26 Jan 2005 17:27:21 +0000 |
| parents | 6bd4452664e9 |
| children | ed309360be21 |
| files | roundup/security.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/security.py Wed Jan 26 13:51:10 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) '''
