changeset 2472:4e9370e2e8f1

Move xmlrpc_getBotTranslations() out of warning's scope.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Fri, 20 Jul 2007 13:20:18 +0200
parents 663867be4afc
children 754e3eedb9e5
files MoinMoin/xmlrpc/__init__.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/xmlrpc/__init__.py	Fri Jul 20 02:57:25 2007 +0200
+++ b/MoinMoin/xmlrpc/__init__.py	Fri Jul 20 13:20:18 2007 +0200
@@ -958,6 +958,8 @@
         AttachFile._addLogEntry(self.request, 'ATTNEW', pagename, filename)
         return xmlrpclib.Boolean(1)
 
+    # XXX END WARNING XXX
+
 
     def xmlrpc_getBotTranslations(self):
         """ Return translations to be used by notification bot
@@ -967,8 +969,6 @@
         from MoinMoin.i18n import bot_translations
         return bot_translations(self.request)
 
-    # XXX END WARNING XXX
-
 
 class XmlRpc1(XmlRpcBase):