diff options
author | Bjoern Tropf <asym@gentoo.org> | 2009-11-14 12:20:41 +0100 |
---|---|---|
committer | Bjoern Tropf <asym@gentoo.org> | 2009-11-14 12:20:41 +0100 |
commit | 9e8902084452e82e632f85de2536f804bdc4d86c (patch) | |
tree | 831d0b4717ac397c1a91e15827882a6864efa781 | |
parent | Implement a NOCVE dictionary (diff) | |
download | kernel-check-9e8902084452e82e632f85de2536f804bdc4d86c.tar.gz kernel-check-9e8902084452e82e632f85de2536f804bdc4d86c.tar.bz2 kernel-check-9e8902084452e82e632f85de2536f804bdc4d86c.zip |
Fix small bug
-rw-r--r-- | lib/kernellib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernellib.py b/lib/kernellib.py index 6f91ce5..cf2e6ab 100644 --- a/lib/kernellib.py +++ b/lib/kernellib.py @@ -547,7 +547,7 @@ def read_cve_file(directory, bugid): 'severity', 'score', 'vector']: element = item.find(elem) if element is not None: - setattr(cve, elem, item.find(elem).text) + setattr(cve, elem, element.text) else: BUG_ON(filename, '(%s, \'No such element\')' % elem) |