[hamster-applet/gnome-2-32] not sure how it was working before, really. fixes bug 633103
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet/gnome-2-32] not sure how it was working before, really. fixes bug 633103
- Date: Thu, 4 Nov 2010 00:49:28 +0000 (UTC)
commit 9c7a7d9eefb5dbe21c5a692390042f3c165c057a
Author: Toms Bauģis <toms baugis gmail com>
Date: Thu Nov 4 00:46:53 2010 +0000
not sure how it was working before, really. fixes bug 633103
src/hamster/db.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster/db.py b/src/hamster/db.py
index 08f1a22..91b0db5 100644
--- a/src/hamster/db.py
+++ b/src/hamster/db.py
@@ -947,7 +947,7 @@ class Storage(storage.Storage):
def end_transaction(self):
self.__con.commit()
self.__cur.close()
- self.__con = None
+ self.__con, self.__cur = None, None
self.register_modification()
def run_fixtures(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]