From 7a1377d075df24622828f1e8942a197e2729a3a8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 2 Oct 2012 12:33:48 -0400 Subject: [PATCH] Repair parsing of numeric variables - fix by AI0867. --- irkerhook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irkerhook.py b/irkerhook.py index 70a496e..ab38de4 100755 --- a/irkerhook.py +++ b/irkerhook.py @@ -156,8 +156,8 @@ class GenericExtractor: setattr(self, key, True) elif type(val) == type("") and val.lower() == "false": setattr(self, key, False) - elif key in GenericExtractor.numerics: - setattr(self, key, int(val)) + elif key in GenericExtractor.numerics: + setattr(self, key, int(val)) if not self.project: sys.stderr.write("irkerhook.py: no project name set!\n") raise SystemExit, 1 -- 2.26.2