[CMF-checkins] CVS: Products/CMFCore - TypesTool.py:1.75

Yvo Schubbe y.2004_ at wcm-solutions.de
Thu Aug 26 04:04:11 EDT 2004


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv22193/CMFCore

Modified Files:
	TypesTool.py 
Log Message:
Oops! Fixed broken except.


=== Products/CMFCore/TypesTool.py 1.74 => 1.75 ===
--- Products/CMFCore/TypesTool.py:1.74	Thu Aug 12 11:07:39 2004
+++ Products/CMFCore/TypesTool.py	Thu Aug 26 04:04:11 2004
@@ -435,7 +435,7 @@
             if not perms or View in perms:
                 try:
                     viewmethod = action.action(context).strip()
-                except AttributeError, TypeError:
+                except (AttributeError, TypeError):
                     break
                 if viewmethod.startswith('/'):
                     viewmethod = viewmethod[1:]
@@ -451,7 +451,7 @@
         for action in ordered:
             try:
                 defmethod = action.action(context).strip()
-            except AttributeError, TypeError:
+            except (AttributeError, TypeError):
                 break
             if defmethod.startswith('/'):
                 defmethod = defmethod[1:]



More information about the CMF-checkins mailing list