[Zope-CVS] CVS: Products/ZopeVersionControl - Utility.py:1.3

Brian Lloyd brian@zope.com
Tue, 21 Jan 2003 16:47:16 -0500


Update of /cvs-repository/Products/ZopeVersionControl
In directory cvs.zope.org:/tmp/cvs-serv15188

Modified Files:
	Utility.py 
Log Message:
Add hack to allow VersionInfo to be used in page templates.


=== Products/ZopeVersionControl/Utility.py 1.2 => 1.3 ===
--- Products/ZopeVersionControl/Utility.py:1.2	Thu May  9 13:43:40 2002
+++ Products/ZopeVersionControl/Utility.py	Tue Jan 21 16:47:12 2003
@@ -31,6 +31,8 @@
        controlled objects. The bookkeeping information can be read (but
        not changed) by restricted code."""
 
+    __allow_access_to_unprotected_subobjects__ = 1
+
     def __init__(self, history_id, version_id, status):
         self.timestamp = time.time()
         self.history_id = history_id