Skip to content

Commit

Permalink
getValueName() does not take an argument.
Browse files Browse the repository at this point in the history
Caught by pychecker.
  • Loading branch information
Jeremy Hylton committed Sep 24, 2002
1 parent 3361903 commit 2d672ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unauthorized.py
Expand Up @@ -11,7 +11,7 @@
#
##############################################################################
"""
$Id: unauthorized.py,v 1.6 2002/08/21 19:58:34 shane Exp $
$Id: unauthorized.py,v 1.7 2002/09/24 22:05:40 jeremy Exp $
"""

from types import StringType
Expand Down Expand Up @@ -56,7 +56,7 @@ def __str__(self):
% 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)


Expand Down

0 comments on commit 2d672ae

Please sign in to comment.