Changeset 502 for WAeUP_SRP/trunk/PatchCatalogToolXMLAdapter.py
- Timestamp:
- 11 Sep 2006, 10:39:59 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/PatchCatalogToolXMLAdapter.py
r486 r502 7 7 """Import the object from the DOM node. 8 8 """ 9 #import pdb;pdb.set_trace() 9 10 if self.environ.shouldPurge(): 10 11 self._purgeProperties() … … 12 13 self._purgeIndexes() 13 14 self._purgeColumns() 14 ## self._initProperties(node)15 ## self._initObjects(node)16 ## self._initIndexes(node)17 ## self._initColumns(node)18 15 columns = [] 19 16 for col in self._extractColumns()._get_childNodes(): … … 27 24 na = node.attributes.items() 28 25 not_found = True 29 if na[ 1][1] == "portal_catalog":26 if na[0][1] == "CMF Catalog": 30 27 not_found = False 31 print na[1][1]28 #print na[1][1] 32 29 for ch in node._get_childNodes(): 33 30 if ch.nodeName in ('index',):
Note: See TracChangeset for help on using the changeset viewer.