Bump version. Minor Alpha Linux update. Clear errorhandler on close.

This commit is contained in:
adustman
2002-03-14 20:43:51 +00:00
parent 058e71d15d
commit 127059fa73
5 changed files with 8 additions and 5 deletions

View File

@@ -19,8 +19,8 @@ version_info = (
0,
9,
2,
"alpha",
2)
"beta",
1)
if version_info[3] == "final": __version__ = "%d.%d.%d" % version_info[:3]
else: __version__ = "%d.%d.%d%1.1s%d" % version_info[:5]

View File

@@ -73,6 +73,7 @@ class Connection:
def __del__(self):
if hasattr(self, '_db'): self.close()
print "Alas! I die!"
def close(self):
"""Close the connection. No further activity possible."""

View File

@@ -46,8 +46,8 @@ class BaseCursor:
def close(self):
"""Close the cursor. No further queries will be possible."""
if not self.connection: return
self.connection = None
self.errorhandler = None
def _check_executed(self):
if not self._executed: