- Timestamp:
- 27 Jun 2010, 09:02:53 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-fasttables/src/waeup/sirp/jambtables/jambtables.py
r5245 r5246 38 38 def filter_data(datadict): 39 39 """Filter items whose key contains 'ignore' 40 41 The function will remove all fields whose name start with 42 ``ignore``. All data will be convertetd to unicode except 43 ``data_of_birth``, which is turned into a `dateteime` object. 40 44 """ 41 45 keys = datadict.keys() … … 118 122 self._copyDataFile(filepath) 119 123 120 #def add(self, reg_no, data_dict):121 # item = filter_data(data_dict)122 # item.__name__ = reg_no123 # item.__parent__ = self124 # #if send_events:125 # # objectEventNotify(ObjectWillBeAddedEvent(item, self, reg_no))126 # #self._data[reg_no] = item127 # self._data_len += 1128 # #if senf_event:129 # # objectEventNotify(ObjectAddedEvent(item, self, reg_no))130 131 124 def _copyDataFile(self, path): 132 125 """Copy file in path to the JAMBData storage.
Note: See TracChangeset for help on using the changeset viewer.