[Zope-Checkins] CVS: Zope/lib/python/zExceptions - unauthorized.py:1.4.14.1

Jeremy Hylton jeremy@zope.com
Wed, 25 Sep 2002 12:10:46 -0400


Update of /cvs-repository/Zope/lib/python/zExceptions
In directory cvs.zope.org:/tmp/cvs-serv27077

Modified Files:
      Tag: Zope-2_5-branch
	unauthorized.py 
Log Message:
Backport: getValueName() does not take an argument.


=== Zope/lib/python/zExceptions/unauthorized.py 1.4 => 1.4.14.1 ===
--- Zope/lib/python/zExceptions/unauthorized.py:1.4	Wed Nov 28 10:51:23 2001
+++ Zope/lib/python/zExceptions/unauthorized.py	Wed Sep 25 12:10:45 2002
@@ -56,7 +56,7 @@
                     % self.name)
         elif self.value is not None:
             return ("You are not allowed to access %s in this context"
-                    % self.getValueName(self.value))
+                    % self.getValueName())
                 
                             
     def getValueName(self):