2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 05:42:30 +00:00

- Fixed stupid bug in HandlePolicy

[SVN r18095]
This commit is contained in:
Bruno da Silva de Oliveira
2003-03-26 15:06:14 +00:00
parent 44b2e1ef8b
commit b6927410d9

View File

@@ -53,7 +53,7 @@ def HandlePolicy(function, policy):
# show a warning to the user, if needed
if needs_policy and policy is None:
global _printed_warnings
warning = '---> Error: Method "%s" needs a policy.' % m.FullName()
warning = '---> Error: Method "%s" needs a policy.' % function.FullName()
if warning not in _printed_warnings:
print warning
print