changeset 4518:c6fa175c7b62

web.frontend: fixed undefined run_server
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 31 Jan 2009 00:57:33 +0100
parents 47eee6dfcdec
children 74e850a410ec
files MoinMoin/web/frontend.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/web/frontend.py	Sat Jan 31 00:06:11 2009 +0100
+++ b/MoinMoin/web/frontend.py	Sat Jan 31 00:57:33 2009 +0100
@@ -8,7 +8,6 @@
 import optparse
 
 from MoinMoin.web.serving import make_application
-
 from MoinMoin import log
 logging = log.getLogger(__name__)
 
@@ -37,9 +36,9 @@
             application = make_application(shared=options.htdocs)
         else:
             application = make_application()
-
         try:
-            self.run_server(application, options)
+            from MoinMoin.web.flup_frontend import FlupFrontEnd
+            return FlupFrontEnd().run_server(application, options)
         except:
             logging.error('Error while running %s', self.__class__.__name__)
             raise