[Zope3-checkins] CVS: Zope3/src/zope/app/content - folder.py:1.5
R. David Murray
bitz@bitdance.com
Fri, 17 Jan 2003 14:17:34 -0500
Update of /cvs-repository/Zope3/src/zope/app/content
In directory cvs.zope.org:/tmp/cvs-serv5337
Modified Files:
folder.py
Log Message:
Clarify error message.
=== Zope3/src/zope/app/content/folder.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/content/folder.py:1.4 Fri Dec 27 14:26:26 2002
+++ Zope3/src/zope/app/content/folder.py Fri Jan 17 14:17:32 2003
@@ -82,7 +82,7 @@
try:
unicode(name)
except UnicodeError:
- raise TypeError("Name may not contain non-7-bit-ascii codes")
+ raise TypeError("Non-unicode names must be 7-bit-ascii only")
if not name:
raise TypeError("Name must not be empty")