Skip to content

Commit

Permalink
Fixed an undefined name
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Oct 17, 2010
1 parent 7529ff2 commit 71a6279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AccessControl/ZopeGuards.py
Expand Up @@ -70,7 +70,7 @@ def guarded_getitem(object, index):
return v
if getSecurityManager().validate(object, object, None, v):
return v
raise Unauthorized, 'unauthorized access to element %s' % `i`
raise Unauthorized('unauthorized access to element %s' % index)

# Create functions using nested scope to store state
# This is less expensive then instantiating and calling instances
Expand Down

0 comments on commit 71a6279

Please sign in to comment.