From d02972396290fabceeccfff87e3817374f0c1ef2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 6 Jun 1998 15:53:47 +0000 Subject: Eliminate another eval. svn path=/trunk/; revision=1922 --- fetchmailconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetchmailconf b/fetchmailconf index 54d74154..ce71be55 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -479,7 +479,7 @@ class MyWidget: def fetch(self, template, field): for x in template.typemap: - setattr(eval("self." + field), x[0], getattr(self, x[0]).get()) + setattr(getattr(self, field), x[0], getattr(self, x[0]).get()) # # First, code to set the global fetchmail run controls. -- cgit v1.2.3