[Zope-Checkins] SVN: Zope/branches/2.9/ Forward-port fix and tests for issue #2157 from 2.8 branch.

Tres Seaver tseaver at palladion.com
Sun Jul 23 20:47:27 EDT 2006


Log message for revision 69243:
  Forward-port fix and tests for issue #2157 from 2.8 branch.

Changed:
  U   Zope/branches/2.9/doc/CHANGES.txt
  U   Zope/branches/2.9/lib/python/OFS/Uninstalled.py

-=-
Modified: Zope/branches/2.9/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.9/doc/CHANGES.txt	2006-07-24 00:43:14 UTC (rev 69242)
+++ Zope/branches/2.9/doc/CHANGES.txt	2006-07-24 00:47:26 UTC (rev 69243)
@@ -18,6 +18,9 @@
 
    Bugs fixed
 
+      - Collector #2157: Expose name of broken class in SystemError raised
+        from '__getstate__' of a broken instance.
+
       - Usage of 'urljoin' in 'webdav.davcmds' could lead to wrongly
         constructed urls.
 

Modified: Zope/branches/2.9/lib/python/OFS/Uninstalled.py
===================================================================
--- Zope/branches/2.9/lib/python/OFS/Uninstalled.py	2006-07-24 00:43:14 UTC (rev 69242)
+++ Zope/branches/2.9/lib/python/OFS/Uninstalled.py	2006-07-24 00:47:26 UTC (rev 69243)
@@ -40,7 +40,7 @@
         raise SystemError, (
             """This object was originally created by a product that
             is no longer installed.  It cannot be updated.
-            """)
+            (%s)""" % repr(self))
 
     def __getattr__(self, name):
         if name[:3]=='_p_':



More information about the Zope-Checkins mailing list