Changeset 4746 for waeup/branches
- Timestamp:
- 8 Jan 2010, 14:29:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/datacenter.py
r4683 r4746 95 95 def getCSVDataReceivers(self, obj): 96 96 """Get a list of attributes, that can receive CSV data. 97 98 We also get a list of values, if obj is a container that 99 contains value items. 97 100 """ 98 101 result = [] … … 105 108 #IWAeUPCSVImporter(attr) 106 109 result.append(attr) 110 except: 111 pass 112 if hasattr(obj, 'values'): 113 try: 114 result.extend(obj.values()) 107 115 except: 108 116 pass
Note: See TracChangeset for help on using the changeset viewer.