[hamster-applet] 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] not sure how it was working before, really. fixes bug 633103
- Date: Thu, 4 Nov 2010 00:48:53 +0000 (UTC)
commit f401d649318e0e01ccefeb99a398a6f32fd820a8
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 5412b58..77e73c3 100644
--- a/src/hamster/db.py
+++ b/src/hamster/db.py
@@ -937,7 +937,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]