[Checkins] SVN: Products.CMFCore/trunk/Products/CMFCore/DirectoryView.py - removed unused variable
Yvo Schubbe
y.2009 at wcm-solutions.de
Wed Dec 9 05:44:33 EST 2009
Log message for revision 106320:
- removed unused variable
- indentation cleanup
Changed:
U Products.CMFCore/trunk/Products/CMFCore/DirectoryView.py
-=-
Modified: Products.CMFCore/trunk/Products/CMFCore/DirectoryView.py
===================================================================
--- Products.CMFCore/trunk/Products/CMFCore/DirectoryView.py 2009-12-09 10:09:18 UTC (rev 106319)
+++ Products.CMFCore/trunk/Products/CMFCore/DirectoryView.py 2009-12-09 10:44:33 UTC (rev 106320)
@@ -117,9 +117,9 @@
self._walker = _walker(self.ignore)
subdirs = []
for entry in _filtered_listdir(self._filepath, ignore=self.ignore):
- entry_filepath = os.path.join(self._filepath, entry)
- if os.path.isdir(entry_filepath):
- subdirs.append(entry)
+ entry_filepath = os.path.join(self._filepath, entry)
+ if os.path.isdir(entry_filepath):
+ subdirs.append(entry)
self.subdirs = tuple(subdirs)
def getSubdirs(self):
@@ -423,7 +423,6 @@
def listFolderHierarchy(ob, path, rval, adding_meta_type=None):
if not hasattr(ob, 'objectValues'):
return
- values = ob.objectValues()
for subob in ob.objectValues():
base = getattr(subob, 'aq_base', subob)
if getattr(base, 'isPrincipiaFolderish', 0):
More information about the checkins
mailing list