[Zope-Checkins] CVS: Products/Transience - TransientObject.py:1.9.68.6

Jens Vagelpohl jens at dataflake.org
Sat Oct 1 09:18:49 EDT 2005


Update of /cvs-repository/Products/Transience
In directory cvs.zope.org:/tmp/cvs-serv19060/lib/python/Products/Transience

Modified Files:
      Tag: Zope-2_7-branch
	TransientObject.py 
Log Message:
- Collector #1863: Prevent possibly sensitive information to leak via
  the TransientObject's __repr__ method.


=== Products/Transience/TransientObject.py 1.9.68.5 => 1.9.68.6 ===
--- Products/Transience/TransientObject.py:1.9.68.5	Fri Sep 17 22:58:19 2004
+++ Products/Transience/TransientObject.py	Sat Oct  1 09:18:19 2005
@@ -255,8 +255,8 @@
         return "%s%s" % (t, d)
 
     def __repr__(self):
-        return "id: %s, token: %s, contents: %s" % (
-            self.id, self.token, `self.items()`
+        return "id: %s, token: %s, content keys: %s" % (
+            self.id, self.token, `self.keys()`
             )
 
 def lastmodified_sort(d1, d2):



More information about the Zope-Checkins mailing list