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

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

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

revision 1261 by jonathan, Fri Jun 20 14:14:42 2003 UTC revision 1515 by bh, Tue Jul 29 14:59:11 2003 UTC
# Line 12  __version__ = "$Revision$" Line 12  __version__ = "$Revision$"
12  # $Id$  # $Id$
13    
14  import os  import os
 import warnings  
15  import weakref  import weakref
16    
17  import shapelib  import shapelib
# Line 130  class DerivedShapeStore: Line 129  class DerivedShapeStore:
129          Return the original shapestore the derived store was instantiated with          Return the original shapestore the derived store was instantiated with
130          """          """
131          return self.shapestore          return self.shapestore
   
   
 class SimpleStore:  
   
     """Combine a shapefile and a table object"""  
   
     def __init__(self, shapefile, table):  
         warnings.warn("The SimpleStore is deprecated."  
                       " Use DerivedShapeStore instead",  
                       DeprecationWarning, stacklevel = 2)  
         self.shapefile = shapefile  
         self.table = table  
         self.filename = None  
   
     def Table(self):  
         return self.table  
   
     def Shapefile(self):  
         return self.shapefile  

Legend:
Removed from v.1261  
changed lines
  Added in v.1515

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26