Commit 25bb93d0 authored by Nicolas Dumazet's avatar Nicolas Dumazet

ignore non-filesystem propertysheets


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41735 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bd472340
......@@ -1186,7 +1186,7 @@ class TestZodbImportFilesystemPropertySheet(ERP5TypeTestCase):
from Products.ERP5Type import PropertySheet
# Get all the property sheets defined on the filesystem
for name, klass in PropertySheet.__dict__.iteritems():
if name[0] == '_':
if name[0] == '_' or isinstance(klass, basestring):
continue
filesystem_property_sheet = klass
property_sheet_name = name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment