prelude-correlator/master: Fix for Python 2.6 deprecation warning, no need to provide arguments to the parent method.

[email protected] Fri, 12 Jun 2009 17:14:43 +0200 (CEST)
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
commit ac3ff498168d8448242a195ca4d673e834e1f6ff
Author: Yoann Vandoorselaere <[email protected]>
Date:   Fri Jun 12 17:13:39 2009 +0200

    Fix for Python 2.6 deprecation warning, no need to provide arguments to the parent method.


========================================

 PreludeCorrelator/context.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

========================================

diff --git a/PreludeCorrelator/context.py b/PreludeCorrelator/context.py
index cc5cc72..2970c0a 100644
--- a/PreludeCorrelator/context.py
+++ b/PreludeCorrelator/context.py
@@ -88,7 +88,7 @@ class Context(idmef.IDMEF, Timer):
                 if update and _CONTEXT_TABLE.has_key(name):
                         return _CONTEXT_TABLE[name]
 
-                return super(Context, cls).__new__(cls, name, options, update)
+                return super(Context, cls).__new__(cls)
 
 
         def CheckAndDecThreshold(self):
_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog