prewikka/master: Correctly handle empty return for listed path
[email protected] Wed, 10 Jun 2009 12:54:04 +0200 (CEST)
| Newsgroups | gmane.comp.security.ids.prelude.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit b1fe3838ffe262db3d85145d443c2342b33cd7f8 Author: Yoann Vandoorselaere <[email protected]> Date: Tue Jun 9 12:33:06 2009 +0200 Correctly handle empty return for listed path ======================================== prewikka/IDMEFDatabase.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ======================================== diff --git a/prewikka/IDMEFDatabase.py b/prewikka/IDMEFDatabase.py index dc9663d..388f1cb 100644 --- a/prewikka/IDMEFDatabase.py +++ b/prewikka/IDMEFDatabase.py @@ -165,7 +165,7 @@ class Message: if idmef_value: ret = self._convert_value(idmef_value, key) else: - if idmef_path_is_list(path, -1): + if idmef_path_is_ambiguous(path): ret = [] else: ret = None _______________________________________________ Prelude-cvslog site list [email protected] http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog