diff MoinMoin/script/__init__.py @ 2338:b902f2397c68

rename server and request Implementations by adding a prefix server_, request_
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 05 Jul 2007 21:23:29 +0200
parents 01f05e74aa9c
children ccf6d7ffb310
line wrap: on
line diff
--- a/MoinMoin/script/__init__.py	Tue Jul 03 08:58:33 2007 +0200
+++ b/MoinMoin/script/__init__.py	Thu Jul 05 21:23:29 2007 +0200
@@ -45,7 +45,7 @@
 
 class ScriptRequestCLI(ScriptRequest):
     """ When a script runs directly on the shell, we just use the CLI request
-        object (see MoinMoin.request.CLI) to do I/O (which will use stdin/out/err).
+        object (see MoinMoin.request.request_cli) to do I/O (which will use stdin/out/err).
     """
     def __init__(self, request):
         self.request = request
@@ -172,11 +172,11 @@
 
     def init_request(self):
         """ create request """
-        from MoinMoin.request import CLI
+        from MoinMoin.request import request_cli
         if self.options.wiki_url:
-            self.request = CLI.Request(self.options.wiki_url, self.options.page)
+            self.request = request_cli.Request(self.options.wiki_url, self.options.page)
         else:
-            self.request = CLI.Request(pagename=self.options.page)
+            self.request = request_cli.Request(pagename=self.options.page)
 
     def mainloop(self):
         # Insert config dir or the current directory to the start of the path.