[svn] Add a comment about the autocommit value in db.connect() immsview
authorfabien
Mon, 02 Feb 2004 10:45:25 -0500
branchimmsview
changeset 10 bc1c7546502a
parent 9 412e93decb7c
child 11 2913cf0e73e2
[svn] Add a comment about the autocommit value in db.connect()
immsview
--- a/immsview	Mon Feb 02 10:42:43 2004 -0500
+++ b/immsview	Mon Feb 02 10:45:25 2004 -0500
@@ -20,29 +20,40 @@
 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-_immsview_version = "$Id: immsview 1691 2004-02-02 15:42:43Z fabien $"
+_immsview_version = "$Id: immsview 1692 2004-02-02 15:45:25Z fabien $"
 
 # $Log$
+# Revision 1.11  2004/02/02 15:45:25  fabien
+# Add a comment about the autocommit value in db.connect()
+#
 # Revision 1.10  2004/02/02 15:42:43  fabien
-# OK, reset current after changing song manually... however, I most sleep for almost a second to be sure to catch it.
+# OK, reset current after changing song manually... however, I most
+# sleep for almost a second to be sure to catch it.
 #
 # Revision 1.9  2004/02/02 06:54:09  fabien
 # Add cvs log since I don't maintain a changelog currently.
 #
 # Revision 1.8  2004/02/02 06:44:10  fabien
 # All functions are now implemented (with a somewhat "cleaner" interface.
+#
 # Revision 1.7  2004/02/02 04:51:35  fabien
 # Switch to GTK2.
+#
 # Revision 1.6  2004/02/01 17:21:02  fabien
 # Add play selected song.
+#
 # Revision 1.5  2004/02/01 16:22:40  fabien
 # Add title.
+#
 # Revision 1.4  2004/02/01 16:12:45  fabien
 # Add current and correct plot function.
+#
 # Revision 1.3  2004/02/01 15:59:04  fabien
 # Adding xmms selection and last display.
+#
 # Revision 1.2  2004/02/01 04:40:41  fabien
 # add versioning.
+#
 # Revision 1.1  2004/02/01 03:05:25  fabien
 # Premiere version de immsview.
 
@@ -125,6 +136,7 @@
     _dbname = os.environ['HOME'] + '/.imms/imms.db'
     # _dbname = os.environ['HOME'] + '/.imms/imms.backup.db'
     def __init__(self):
+        # autocommit = 1 disable autocommit!
         self.cx = sqlite.connect(IMMSDb._dbname, autocommit = 1,
                                  timeout = 2, encoding = ('utf-8', 'replace'))
     def commit(self):