prelude-correlator/master: Return empty tuple rather than an empty list.
[email protected] Thu, 9 Jul 2009 17:57:27 +0200 (CEST)
| Newsgroups | gmane.comp.security.ids.prelude.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit a238a64eca0150a9e26f1516f40c2a49882c6a37 Author: Yoann Vandoorselaere <[email protected]> Date: Wed Jun 24 13:13:55 2009 +0200 Return empty tuple rather than an empty list. ======================================== PreludeCorrelator/idmef.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ======================================== diff --git a/PreludeCorrelator/idmef.py b/PreludeCorrelator/idmef.py index 7bbcf59..2fe9d1f 100644 --- a/PreludeCorrelator/idmef.py +++ b/PreludeCorrelator/idmef.py @@ -52,7 +52,7 @@ class IDMEF(PreludeEasy.IDMEF): value = path.Get(self) if not value: if path.IsAmbiguous() and flatten: - return replacement or [] + return replacement or () return replacement _______________________________________________ Prelude-cvslog site list [email protected] http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog