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

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


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

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


=== Zope/lib/python/zExceptions/unauthorized.py 1.6 => 1.6.4.1 ===
--- Zope/lib/python/zExceptions/unauthorized.py:1.6	Wed Aug 21 15:58:34 2002
+++ Zope/lib/python/zExceptions/unauthorized.py	Wed Sep 25 12:11:03 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())
         return repr(self)