changeset 3036:fe0263c5d64c

theme.__init__: fixed deprecation warning
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 03 Feb 2008 21:09:30 +0100
parents b545446562a0
children c0d62e7f4fbc
files MoinMoin/theme/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sun Feb 03 20:57:26 2008 +0100
+++ b/MoinMoin/theme/__init__.py	Sun Feb 03 21:09:30 2008 +0100
@@ -1475,7 +1475,7 @@
             pagename = keywords.get('pagename', '')
             page = Page(request, pagename)
         if keywords.get('msg', ''):
-            raise DeprecationWarning ("Using send_page(msg=) is deprecated! Use theme.add_status() instead!")
+            raise DeprecationWarning ("Using send_page(msg=) is deprecated! Use theme.add_msg() instead!")
         scriptname = request.getScriptname()
         pagename_quoted = wikiutil.quoteWikinameURL(pagename)