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

Chris McDonough chrism at plope.com
Sat Jul 3 20:21:31 EDT 2004


Update of /cvs-repository/Products/Transience
In directory cvs.zope.org:/tmp/cvs-serv6731

Modified Files:
      Tag: Zope-2_7-branch
	Transience.py 
Log Message:
Fix for http://zope.org/Collectors/Zope/1403 (Transience._getCallback raises a 
NameError when the callback can't be found)


=== Products/Transience/Transience.py 1.32.12.7 => 1.32.12.8 ===
--- Products/Transience/Transience.py:1.32.12.7	Sun May 30 03:56:35 2004
+++ Products/Transience/Transience.py	Sat Jul  3 20:21:01 2004
@@ -717,10 +717,10 @@
                 method = self.unrestrictedTraverse(callback)
             except (KeyError, AttributeError):
                 path = self.getPhysicalPath()
-                err = 'No such method %s in %s %s'
+                err = 'No such onAdd/onDelete method %s referenced via %s'
                 LOG('Transience',
                     WARNING,
-                    err % (callback, '/'.join(path), name),
+                    err % (callback, '/'.join(path)),
                     error=sys.exc_info()
                     )
                 return



More information about the Zope-Checkins mailing list