[Zope-Checkins] CVS: Zope/lib/python/zExceptions - unauthorized.py:1.7
Jeremy Hylton
jeremy@zope.com
Tue, 24 Sep 2002 18:05:40 -0400
Update of /cvs-repository/Zope/lib/python/zExceptions
In directory cvs.zope.org:/tmp/cvs-serv17165
Modified Files:
unauthorized.py
Log Message:
getValueName() does not take an argument.
Caught by pychecker.
=== Zope/lib/python/zExceptions/unauthorized.py 1.6 => 1.7 ===
--- Zope/lib/python/zExceptions/unauthorized.py:1.6 Wed Aug 21 15:58:34 2002
+++ Zope/lib/python/zExceptions/unauthorized.py Tue Sep 24 18:05:40 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)