[CMF-checkins] CVS: CMF/CMFCore - PortalFolder.py:1.44

Florent Guillaume fg@nuxeo.com
Fri, 14 Mar 2003 12:25:44 -0500


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv32445/CMFCore

Modified Files:
	PortalFolder.py 
Log Message:
Fix previous change in exception used.

=== CMF/CMFCore/PortalFolder.py 1.43 => 1.44 ===
--- CMF/CMFCore/PortalFolder.py:1.43	Sat Aug  3 23:51:56 2002
+++ CMF/CMFCore/PortalFolder.py	Fri Mar 14 12:25:13 2003
@@ -473,7 +473,7 @@
         """
         try:
             action = self.getTypeInfo().getActionById( 'mkdir' )
-        except TypeError:
+        except ValueError:
             self.invokeFactory( type_name='Folder', id=id )
         else:
             # call it