/[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 256 by bh, Tue Aug 28 15:41:52 2001 UTC revision 257 by bh, Thu Aug 15 12:47:59 2002 UTC
# Line 1  Line 1 
1  # Copyright (c) 2001 by Intevation GmbH  # Copyright (c) 2001, 2002 by Intevation GmbH
2  # Authors:  # Authors:
3  # Bernhard Herzog <[email protected]>  # Bernhard Herzog <[email protected]>
4  #  #
# Line 36  class Table: Line 36  class Table:
36          self.filename = filename          self.filename = filename
37          self.dbf = dbflib.DBFFile(filename)          self.dbf = dbflib.DBFFile(filename)
38    
39        def Destroy(self):
40            self.dbf.close()
41            self.dbf = None
42    
43      def record_count(self):      def record_count(self):
44          """Return the number of records"""          """Return the number of records"""
45          return self.dbf.record_count()          return self.dbf.record_count()

Legend:
Removed from v.256  
changed lines
  Added in v.257

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26