/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/Model/table.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/Model/table.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 839 by bh, Tue May 6 15:54:18 2003 UTC revision 994 by bh, Thu May 22 18:05:16 2003 UTC
# Line 218  class DBFTable(OldTableInterfaceMixin): Line 218  class DBFTable(OldTableInterfaceMixin):
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    
# Line 246  class DBFTable(OldTableInterfaceMixin): Line 249  class DBFTable(OldTableInterfaceMixin):
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:
# Line 349  class MemoryTable(OldTableInterfaceMixin Line 350  class MemoryTable(OldTableInterfaceMixin
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

Legend:
Removed from v.839  
changed lines
  Added in v.994

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26