[cig-commits] r7966 - cs/spatialdata-0.1/trunk/spatialdata/spatialdb
brad at geodynamics.org
brad at geodynamics.org
Thu Sep 13 14:51:15 PDT 2007
Author: brad
Date: 2007-09-13 14:51:15 -0700 (Thu, 13 Sep 2007)
New Revision: 7966
Modified:
cs/spatialdata-0.1/trunk/spatialdata/spatialdb/SimpleDB.py
Log:
Fixed bug where setting query type was tied to calling open in Python. Want query type set independent of whether open() is called from Python or C++.
Modified: cs/spatialdata-0.1/trunk/spatialdata/spatialdb/SimpleDB.py
===================================================================
--- cs/spatialdata-0.1/trunk/spatialdata/spatialdb/SimpleDB.py 2007-09-13 20:47:44 UTC (rev 7965)
+++ cs/spatialdata-0.1/trunk/spatialdata/spatialdb/SimpleDB.py 2007-09-13 21:51:15 UTC (rev 7966)
@@ -73,18 +73,10 @@
self.iohandler.initialize()
SpatialDB.initialize(self)
self.cppHandle.ioHandler(self.iohandler.cppHandle)
+ self.cppHandle.queryType(self.queryType)
return
- def open(self):
- """
- Open database and prepare for querying.
- """
- SpatialDB.open(self)
- self.cppHandle.queryType(self.queryType)
- return
-
-
# PRIVATE METHODS ////////////////////////////////////////////////////
def _configure(self):
More information about the cig-commits
mailing list