diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-06-06 15:53:47 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-06-06 15:53:47 +0000 |
commit | d02972396290fabceeccfff87e3817374f0c1ef2 (patch) | |
tree | 0772fe18d3cf593d63ed7ffb78a34a44ad04fe96 | |
parent | 6b1558eb6222beb654ee04775f984c06b79b03b6 (diff) | |
download | fetchmail-d02972396290fabceeccfff87e3817374f0c1ef2.tar.gz fetchmail-d02972396290fabceeccfff87e3817374f0c1ef2.tar.bz2 fetchmail-d02972396290fabceeccfff87e3817374f0c1ef2.zip |
Eliminate another eval.
svn path=/trunk/; revision=1922
-rwxr-xr-x | fetchmailconf | 2 |
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. |