[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/security/settings.py Added repr

Jim Fulton jim at zope.com
Tue Oct 19 15:15:59 EDT 2004


Log message for revision 28214:
  Added repr
  

Changed:
  U   Zope3/trunk/src/zope/app/security/settings.py

-=-
Modified: Zope3/trunk/src/zope/app/security/settings.py
===================================================================
--- Zope3/trunk/src/zope/app/security/settings.py	2004-10-19 19:15:57 UTC (rev 28213)
+++ Zope3/trunk/src/zope/app/security/settings.py	2004-10-19 19:15:59 UTC (rev 28214)
@@ -49,6 +49,8 @@
     def __str__(self):
         return "PermissionSetting: %s" % self.__name
 
+    __repr__ = __str__
+
 # register PermissionSettings to be symbolic constants by identity,
 # even when pickled and unpickled.
 import copy_reg



More information about the Zope3-Checkins mailing list