[Zope3-checkins] CVS: Zope3/src/zope/app/pythonpage - __init__.py:1.3

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Mar 2 09:25:00 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/pythonpage
In directory cvs.zope.org:/tmp/cvs-serv21657/src/zope/app/pythonpage

Modified Files:
	__init__.py 
Log Message:


I originally added queryService() to ZAPI and this should have never been
done. Remove it and use getService() in the places where it was used instead.




=== Zope3/src/zope/app/pythonpage/__init__.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/pythonpage/__init__.py:1.2	Tue Feb 24 11:50:28 2004
+++ Zope3/src/zope/app/pythonpage/__init__.py	Tue Mar  2 09:24:30 2004
@@ -177,6 +177,6 @@
         kw['script'] = self
         kw['context'] = zapi.getParent(self)
 
-        service = zapi.queryService(self, 'Interpreter')
+        service = zapi.getService(self, 'Interpreter')
         interpreter = service.queryInterpreter('text/server-python')
         return interpreter.evaluate(self._v_compiled, kw)




More information about the Zope3-Checkins mailing list