[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Caching - Caching.py:1.3

Albertas Agejevas alga@codeworks.lt
Tue, 3 Dec 2002 03:23:35 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Caching
In directory cvs.zope.org:/tmp/cvs-serv30706

Modified Files:
	Caching.py 
Log Message:
A small stray exception in SQL methods.


=== Zope3/lib/python/Zope/App/Caching/Caching.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/Caching/Caching.py:1.2	Mon Dec  2 15:03:46 2002
+++ Zope3/lib/python/Zope/App/Caching/Caching.py	Tue Dec  3 03:23:34 2002
@@ -33,5 +33,5 @@
     try:
         locatable = getAdapter(obj, IPhysicallyLocatable)
         return "/".join(locatable.getPhysicalPath())
-    except ComponentLookupError:
+    except (ComponentLookupError, TypeError):
         return None