[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/RDB - Util.py:1.4 configure.zcml:1.2
Stephan Richter
srichter@cbu.edu
Fri, 12 Jul 2002 17:37:36 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/RDB
In directory cvs.zope.org:/tmp/cvs-serv27679/lib/python/Zope/App/RDB
Modified Files:
Util.py configure.zcml
Log Message:
Fixed some bugs that surfaced with the Package code. I do not understand
how it worked even before, but I am sure it works now. Yeah! ;)
=== Zope3/lib/python/Zope/App/RDB/Util.py 1.3 => 1.4 ===
def queryForResults(conn, query):
"""Convenience function to quickly execute a query."""
- # need to typing
+ # XXX need to do typing
cursor = conn.cursor()
try:
=== Zope3/lib/python/Zope/App/RDB/configure.zcml 1.1 => 1.2 ===
<serviceType id="ConnectionService" interface=".IConnectionService." />
+<content class=".ZopeConnection.">
+ <require
+ permission="Zope.ManageContent"
+ interface=".IZopeConnection." />
+</content>
+
+<content class=".ZopeCursor.">
+ <require
+ permission="Zope.ManageContent"
+ interface=".IZopeCursor." />
+</content>
+
<content class=".ResultSet.">
<require
permission="Zope.ManageContent"