r11103 - prewikka/trunk/prewikka/views

[email protected]
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
Author: yoann
Date: 2008-12-23 09:21:08 +0100 (Tue, 23 Dec 2008)
New Revision: 11103

Modified:
   prewikka/trunk/prewikka/views/messagesummary.py
Log:
Invalid variable name, fix #339.

Modified: prewikka/trunk/prewikka/views/messagesummary.py
===================================================================
--- prewikka/trunk/prewikka/views/messagesummary.py	2008-11-14 16:22:43 UTC (rev 11102)
+++ prewikka/trunk/prewikka/views/messagesummary.py	2008-12-23 08:21:08 UTC (rev 11103)
@@ -661,7 +661,7 @@
 
                 results = self.env.idmef_db.getAlertIdents(criteria)
                 if len(results) == 0:
-                    content += "<li>" + _("Invalid 'analyzerid:messageid' pair, '%(analyzerid):%(messageid)'") % { "analyzerid": analyzerid, "messageid": messageid } + "</li>"
+                    content += "<li>" + _("Invalid 'analyzerid:messageid' pair, '%(analyzerid):%(messageid)'") % { "analyzerid": analyzerid, "messageid": ident } + "</li>"
                 else:
                     alert = self.env.idmef_db.getAlert(results[0], htmlsafe=True)
                     link = utils.create_link("alert_summary", { "origin": self.parameters["origin"], "ident": results[0] })

_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.