[Zope3-checkins] CVS: Zope3/src/zope/app/content - sql.py:1.8
Steve Alexander
steve@cat-box.net
Fri, 13 Jun 2003 13:41:47 -0400
Update of /cvs-repository/Zope3/src/zope/app/content
In directory cvs.zope.org:/tmp/cvs-serv28622/src/zope/app/content
Modified Files:
sql.py
Log Message:
Removed the @@object_name view, as used in some page templates, and
the ObjectName view and adapter also.
Extended IPhysicallyLocatable with a getName method.
Renamed the convenience function objectName to getName.
If you have page templates that use @@object_name, then you can replace it
with zope:name.
=== Zope3/src/zope/app/content/sql.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/content/sql.py:1.7 Wed Jun 11 09:47:57 2003
+++ Zope3/src/zope/app/content/sql.py Fri Jun 13 13:41:15 2003
@@ -166,7 +166,6 @@
from zope.app.interfaces.content.sql import ISQLScript, MissingInput
from zope.app.rdb import SQLCommand
from zope.app.rdb import queryForResults
-from zope.app.traversing import objectName
unparmre = re.compile(r'([\000- ]*([^\000- ="]+))')
parmre = re.compile(r'([\000- ]*([^\000- ="]+)=([^\000- ="]+))')