annotate schema.patch @ 461:c27cab20ec4a

don't die when no connect arg
author cat@eee
date Wed, 24 Feb 2010 12:17:52 -0500
parents 0b71da565ebe
children
rev   line source
447
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
1 94c94,98
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
2 < # Connect to the db and suck out the data dictionary information
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
3 ---
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
4 > # Connect to the db and suck out the data dictionary information
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
5 > self.connect(connection_string)
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
6 > self.schema = self._get_schema(self._cursor)
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
7 >
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
8 > def connect(self, connection_string):
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
9 99,100c103
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
10 < self.schema = self._get_schema(self._cursor)
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
11 <
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
12 ---
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
13 >