summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Reports/importscript.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-10-30 02:22:40 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-10-30 02:22:40 +0000
commit42a3be9cb383d0dc029a9ec6a8eacaf25cc7b2be (patch)
treefa5ac2cef2c98be65d7d78ce297135fd7329ccff /src/lib/Server/Reports/importscript.py
parent4c3be88f1d0f048100d8d0eb12a409514f6bfe58 (diff)
downloadbcfg2-42a3be9cb383d0dc029a9ec6a8eacaf25cc7b2be.tar.gz
bcfg2-42a3be9cb383d0dc029a9ec6a8eacaf25cc7b2be.tar.bz2
bcfg2-42a3be9cb383d0dc029a9ec6a8eacaf25cc7b2be.zip
Fix reports traceback with mysql (Resolves Ticket #487)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3884 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Reports/importscript.py')
-rwxr-xr-xsrc/lib/Server/Reports/importscript.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Reports/importscript.py b/src/lib/Server/Reports/importscript.py
index 5f1011843..bfdbd3c0d 100755
--- a/src/lib/Server/Reports/importscript.py
+++ b/src/lib/Server/Reports/importscript.py
@@ -202,7 +202,7 @@ if __name__ == '__main__':
print "%s item exists, has reason id %s and ID %s" % (xpath, rr.id, item_id)
else:
newitem = obj(name=x.get('name'),
- kind=x.tag,
+ kind=x.tag, critical=False,
reason=rr)
newitem.save()
item_id = newitem.id