changeset 4286:4850d477c22f

Fixed: naming of the ajp module
author Florian Krupicka <florian.krupicka@googlemail.com>
date Fri, 08 Aug 2008 18:51:22 +0200
parents 012c4c4ce35b
children d1be5f6846ca
files MoinMoin/web/ajp_frontend.py MoinMoin/web/ajp_interface.py
diffstat 2 files changed, 32 insertions(+), 32 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/web/ajp_frontend.py	Fri Aug 08 18:38:22 2008 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-# -*- coding: iso-8859-1 -*-
-"""
-    MoinMoin - AJP interface
-
-    @copyright: 2008 MoinMoin:FlorianKrupicka
-    @license: GNU GPL, see COPYING for details.
-"""
-import optparse
-
-from MoinMoin.web.frontend import ServerFrontEnd
-
-from MoinMoin import log
-logging = log.getLogger(__name__)
-
-class AJPFrontEnd(ServerFrontEnd):
-    def run_server(self, application, options):
-        from flup.server.ajp import WSGIServer
-
-        kwargs = {}
-        if options.port:
-            kwargs['bindAddress'] = (options.interface, options.port)
-        elif options.interface.startswith('/') or \
-                options.interface.startswith('./'):
-            kwargs['bindAddress'] = options.interface
-
-        WSGIServer(application, **kwargs).run()
-
-def run():
-    AJPFrontEnd().run()
-
-if __name__ == '__main__':
-    run()
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/web/ajp_interface.py	Fri Aug 08 18:51:22 2008 +0200
@@ -0,0 +1,32 @@
+# -*- coding: iso-8859-1 -*-
+"""
+    MoinMoin - AJP interface
+
+    @copyright: 2008 MoinMoin:FlorianKrupicka
+    @license: GNU GPL, see COPYING for details.
+"""
+import optparse
+
+from MoinMoin.web.frontend import ServerFrontEnd
+
+from MoinMoin import log
+logging = log.getLogger(__name__)
+
+class AJPFrontEnd(ServerFrontEnd):
+    def run_server(self, application, options):
+        from flup.server.ajp import WSGIServer
+
+        kwargs = {}
+        if options.port:
+            kwargs['bindAddress'] = (options.interface, options.port)
+        elif options.interface.startswith('/') or \
+                options.interface.startswith('./'):
+            kwargs['bindAddress'] = options.interface
+
+        WSGIServer(application, **kwargs).run()
+
+def run():
+    AJPFrontEnd().run()
+
+if __name__ == '__main__':
+    run()