aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-06-06 15:53:47 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-06-06 15:53:47 +0000
commitd02972396290fabceeccfff87e3817374f0c1ef2 (patch)
tree0772fe18d3cf593d63ed7ffb78a34a44ad04fe96
parent6b1558eb6222beb654ee04775f984c06b79b03b6 (diff)
downloadfetchmail-d02972396290fabceeccfff87e3817374f0c1ef2.tar.gz
fetchmail-d02972396290fabceeccfff87e3817374f0c1ef2.tar.bz2
fetchmail-d02972396290fabceeccfff87e3817374f0c1ef2.zip
Eliminate another eval.
svn path=/trunk/; revision=1922
-rwxr-xr-xfetchmailconf2
1 files changed, 1 insertions, 1 deletions
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.