218 |
values.sort() |
values.sort() |
219 |
return values |
return values |
220 |
|
|
221 |
|
def Dependencies(self): |
222 |
|
"""Return an empty sequence. The DBFTable doesn't depend on anything""" |
223 |
|
return () |
224 |
|
|
225 |
# DBF specific interface parts. |
# DBF specific interface parts. |
226 |
|
|
249 |
self.dbf.write_record(record, values) |
self.dbf.write_record(record, values) |
250 |
self.dbf.commit() |
self.dbf.commit() |
251 |
|
|
252 |
|
def FileName(self): |
253 |
|
"""Return the filename the DBFTable was instantiated with""" |
254 |
# Temporary backwards compatibility |
return self.filename |
|
Table = DBFTable |
|
|
|
|
255 |
|
|
256 |
|
|
257 |
class MemoryColumn: |
class MemoryColumn: |
350 |
values.sort() |
values.sort() |
351 |
return values |
return values |
352 |
|
|
353 |
|
def Dependencies(self): |
354 |
|
"""Return an empty sequence. The MemoryTable doesn't depend on anything |
355 |
|
""" |
356 |
|
return () |
357 |
|
|
358 |
def write_record(self, record, values): |
def write_record(self, record, values): |
359 |
# TODO: Check for correct lenght and perhaps also |
# TODO: Check for correct lenght and perhaps also |