projects
/
irker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
007a18e
)
Repair parsing of numeric variables - fix by AI0867.
author
Eric S. Raymond
<esr@thyrsus.com>
Tue, 2 Oct 2012 16:33:48 +0000
(12:33 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Tue, 2 Oct 2012 16:33:48 +0000
(12:33 -0400)
irkerhook.py
patch
|
blob
|
history
diff --git
a/irkerhook.py
b/irkerhook.py
index 70a496e8e1a5d630dda3b21c0d9d597c72a23db0..ab38de49a69003a529867936dc40ac12970c7973 100755
(executable)
--- 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