diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-10-30 02:22:40 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-10-30 02:22:40 +0000 |
commit | 42a3be9cb383d0dc029a9ec6a8eacaf25cc7b2be (patch) | |
tree | fa5ac2cef2c98be65d7d78ce297135fd7329ccff /src | |
parent | 4c3be88f1d0f048100d8d0eb12a409514f6bfe58 (diff) | |
download | bcfg2-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')
-rwxr-xr-x | src/lib/Server/Reports/importscript.py | 2 |
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 |