changeset 1711:1e699d639b78

Login macro: sentence for wrong used parameter added
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 06 Jan 2007 22:41:20 +0100
parents 2077ed6974d7
children c0dd392bed62
files MoinMoin/macro/Login.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/Login.py	Sat Jan 06 21:52:11 2007 +0100
+++ b/MoinMoin/macro/Login.py	Sat Jan 06 22:41:20 2007 +0100
@@ -3,7 +3,7 @@
     MoinMoin - login and sendmail form
 
     @copyright: 2005-2006 by Radomirs Cirskis <nad2000@gmail.com>
-    @copyright: 2006 Reimar Bauer, Oliver Siemoneit
+    @copyright: 2007 Reimar Bauer, Oliver Siemoneit
     @license: GNU GPL, see COPYING for details.
 """
 from MoinMoin.widget import html
@@ -29,6 +29,7 @@
         else:
             data = userform.getLogin(request)
         return data
+
     elif args == "sendmail":
         sn = request.getScriptname()
         pi = request.getPathinfo()
@@ -70,4 +71,4 @@
 
             return unicode(form)
     else:
-        return 
+        return _("Check your argument %s" % (args))