[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog - Catalog.py:1.99

Chris McDonough chrism@zope.com
Mon, 25 Nov 2002 15:57:33 -0500


Update of /cvs-repository/Zope/lib/python/Products/ZCatalog
In directory cvs.zope.org:/tmp/cvs-serv15566

Modified Files:
	Catalog.py 
Log Message:
Stringify the object in the exception in case its a list or tuple (an inscrutable error occurs if this is not done).


=== Zope/lib/python/Products/ZCatalog/Catalog.py 1.98 => 1.99 ===
--- Zope/lib/python/Products/ZCatalog/Catalog.py:1.98	Wed Aug 14 18:25:15 2002
+++ Zope/lib/python/Products/ZCatalog/Catalog.py	Mon Nov 25 15:57:33 2002
@@ -383,7 +383,7 @@
         else:
             LOG('Catalog', ERROR, ('uncatalogObject unsuccessfully '
                                    'attempted to uncatalog an object '
-                                   'with a uid of %s. ' % uid))
+                                   'with a uid of %s. ' % str(uid)))
 
 
     def uniqueValuesFor(self, name):