From b6927410d985229a90e4f0d68ca690540da3ad68 Mon Sep 17 00:00:00 2001 From: Bruno da Silva de Oliveira Date: Wed, 26 Mar 2003 15:06:14 +0000 Subject: [PATCH] - Fixed stupid bug in HandlePolicy [SVN r18095] --- pyste/src/exporterutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyste/src/exporterutils.py b/pyste/src/exporterutils.py index d7ded496..d5c5304f 100644 --- a/pyste/src/exporterutils.py +++ b/pyste/src/exporterutils.py @@ -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