[CMF-checkins] CVS: CMF/CMFCore - DirectoryView.py:1.23.6.2
Tres Seaver
tseaver@zope.com
Wed, 28 Aug 2002 09:36:47 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv26176/CMFCore
Modified Files:
Tag: CMF-1_3-branch
DirectoryView.py
Log Message:
- Fix typo.
=== CMF/CMFCore/DirectoryView.py 1.23.6.1 => 1.23.6.2 ===
--- CMF/CMFCore/DirectoryView.py:1.23.6.1 Thu Aug 1 15:07:55 2002
+++ CMF/CMFCore/DirectoryView.py Wed Aug 28 09:36:47 2002
@@ -498,7 +498,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]