[Zope3-checkins] CVS: Zope3/utilities - makezcmldocs.py:1.4
R. David Murray
bitz@bitdance.com
Fri, 8 Nov 2002 15:09:43 -0500
Update of /cvs-repository/Zope3/utilities
In directory cvs.zope.org:/tmp/cvs-serv11198
Modified Files:
makezcmldocs.py
Log Message:
Fix attribute missing description error message (missing /n, wrong variable
used for directive name).
=== Zope3/utilities/makezcmldocs.py 1.3 => 1.4 ===
--- Zope3/utilities/makezcmldocs.py:1.3 Wed Nov 6 18:12:59 2002
+++ Zope3/utilities/makezcmldocs.py Fri Nov 8 15:09:43 2002
@@ -104,7 +104,7 @@
amd = md['attributes'][attr]
description = amd.get('description','')
if not description: sys.stderr.write(("%s in %s has no description " +
- "for the %s attribute") % (fileshortname, curpath, attr))
+ "for the %s attribute\n") % (name, curpath, attr))
required = amd.get('required')
required = (required=='yes' and '(required) ' or required=='no' and
'(optional) ' or '')