[Checkins] SVN: zc.selenium/trunk/ fix for using wsgi runner w/ python2.5, which requires from list to be a sequence of strings

Kapil Thangavelu k_vertigo at objectrealms.net
Tue Sep 2 08:29:55 EDT 2008


Log message for revision 90696:
  fix for using wsgi runner w/ python2.5, which requires from list to be a sequence of strings

Changed:
  U   zc.selenium/trunk/CHANGES.txt
  U   zc.selenium/trunk/src/zc/selenium/selenium.py

-=-
Modified: zc.selenium/trunk/CHANGES.txt
===================================================================
--- zc.selenium/trunk/CHANGES.txt	2008-09-02 10:58:16 UTC (rev 90695)
+++ zc.selenium/trunk/CHANGES.txt	2008-09-02 12:29:54 UTC (rev 90696)
@@ -14,9 +14,10 @@
 
 - Bug: Added documentation on how to setup `zc.selenium`.
 
+- Bug: Allow wsgi option to work with python 2.5
+
 - First public release.
 
-
 1.0.0 (200?-??-??)
 ------------------
 

Modified: zc.selenium/trunk/src/zc/selenium/selenium.py
===================================================================
--- zc.selenium/trunk/src/zc/selenium/selenium.py	2008-09-02 10:58:16 UTC (rev 90695)
+++ zc.selenium/trunk/src/zc/selenium/selenium.py	2008-09-02 12:29:54 UTC (rev 90696)
@@ -44,7 +44,7 @@
 
 def make_wsgi_run_zope(app_path):
     module, name = app_path.rsplit('.', 1)
-    app_factory = getattr(__import__(module, globals(), locals(), [1]), name)
+    app_factory = getattr(__import__(module, globals(), locals(), ["extra"]), name)
     def run_zope(config, port):
         server = wsgiref.simple_server.make_server(
             '0.0.0.0', int(port), app_factory(config))



More information about the Checkins mailing list