[CMF-checkins] CVS: CMF - TypesTool.py:1.5.2.1
tseaver@digicool.com
tseaver@digicool.com
Sat, 7 Apr 2001 16:19:33 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak:/tmp/cvs-serv15108/CMFCore
Modified Files:
Tag: CMF-1_0-branch
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:19:31 1.5.2.1
@@ -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)