changeset 4925:c37ea194d626

flup_frontend: __import__ compatibility fix for python 2.4
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 30 Jul 2009 17:43:50 +0200
parents a8a777074233
children 7a8e1567e7e4
files MoinMoin/web/flup_frontend.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/web/flup_frontend.py	Mon Jul 27 01:55:59 2009 +0200
+++ b/MoinMoin/web/flup_frontend.py	Thu Jul 30 17:43:50 2009 +0200
@@ -76,7 +76,7 @@
             multi = server_type in ('threaded', 'forking')
 
             mod = self.server_types[server_type]
-            mod = __import__(mod, fromlist=['WSGIServer'])
+            mod = __import__(mod, globals(), locals(), ['WSGIServer'])
             WSGIServerWrapped = mod.WSGIServer
 
             class WSGIServer(WSGIServerWrapped):