[CMF-checkins] CVS: CMF/CMFCore - DirectoryView.py:1.30
Tres Seaver
tseaver@zope.com
Wed, 28 Aug 2002 09:38:34 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv26682
Modified Files:
DirectoryView.py
Log Message:
- Merge typo fix from 1.3 branch.
=== CMF/CMFCore/DirectoryView.py 1.29 => 1.30 ===
--- CMF/CMFCore/DirectoryView.py:1.29 Mon Aug 19 13:29:32 2002
+++ CMF/CMFCore/DirectoryView.py Wed Aug 28 09:38:33 2002
@@ -485,7 +485,7 @@
Adds either a DirectoryView or a derivative object.
'''
info = _dirreg.getDirectoryInfo(filepath)
- if dir is None:
+ if info is None:
raise ValueError('Not a registered directory: %s' % filepath)
if not id:
id = path.split(filepath)[-1]