[z3-checkins] r14450 - z3/Five/trunk

philikon at codespeak.net philikon at codespeak.net
Sat Jul 9 23:13:10 CEST 2005


Author: philikon
Date: Sat Jul  9 23:13:08 2005
New Revision: 14450

Modified:
   z3/Five/trunk/fiveconfigure.py
Log:
it seems like ExtensionClasses throw a KeyError when you're
trying to delete an attribute that doesn't exist.


Modified: z3/Five/trunk/fiveconfigure.py
==============================================================================
--- z3/Five/trunk/fiveconfigure.py	(original)
+++ z3/Five/trunk/fiveconfigure.py	Sat Jul  9 23:13:08 2005
@@ -225,7 +225,7 @@
     if attr is not None:
         try:
             delattr(class_, attr)
-        except AttributeError:
+        except (AttributeError, KeyError):
             pass
 
 def untraversable(class_):


More information about the z3-checkins mailing list