summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Tropf <asym@gentoo.org>2009-11-06 19:29:24 +0100
committerBjoern Tropf <asym@gentoo.org>2009-11-06 19:29:24 +0100
commitfd15e4bb1b38624b47b9283cf0e0ae1be78912fa (patch)
tree690eab7802750afadf0e7192d28391cddb34abb2
parentCleanup #1 (diff)
downloadkernel-check-fd15e4bb1b38624b47b9283cf0e0ae1be78912fa.tar.gz
kernel-check-fd15e4bb1b38624b47b9283cf0e0ae1be78912fa.tar.bz2
kernel-check-fd15e4bb1b38624b47b9283cf0e0ae1be78912fa.zip
Small bugfix
-rwxr-xr-xtools/cron.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cron.py b/tools/cron.py
index 196de31..d280606 100755
--- a/tools/cron.py
+++ b/tools/cron.py
@@ -353,7 +353,7 @@ def write_xml_file(directory, vul):
for interval in ('lower', 'upper'):
if item[interval]:
node = et.SubElement(intnode, interval)
- node.text = item[i]
+ node.text = item[interval]
node.set('inclusive',
str(item[interval + '_inc']).lower())
else: