[CMF-checkins] CVS: CMF - TypesTool.py:1.6
tseaver@digicool.com
tseaver@digicool.com
Sat, 7 Apr 2001 16:20:11 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak:/tmp/cvs-serv15213/CMFCore
Modified Files:
TypesTool.py
Log Message:
* Fix typo in exception.
--- Updated File TypesTool.py in package CMF --
--- TypesTool.py 2001/03/02 20:03:37 1.5
+++ TypesTool.py 2001/04/07 20:20:09 1.6
@@ -708,7 +708,7 @@
"""
info = self.getTypeInfo( type_name )
if info is None:
- raise 'ValueError', 'No such content type: %s' % contentType
+ raise 'ValueError', 'No such content type: %s' % type_name
immediate_url = apply(info.constructInstance,
(container, id) + args, kw)