[autoqueue] r277 committed - commit after delete, is proper etiquette

0 views
Skip to first unread message

codesite...@google.com

unread,
Sep 17, 2009, 8:44:17 AM9/17/09
to auto...@googlegroups.com
Revision: 277
Author: this...@gmail.com
Date: Thu Sep 17 05:43:27 2009
Log: commit after delete, is proper etiquette
http://code.google.com/p/autoqueue/source/detail?r=277

Modified:
/trunk/mirage.py

=======================================
--- /trunk/mirage.py Wed Sep 16 05:33:17 2009
+++ /trunk/mirage.py Thu Sep 17 05:43:27 2009
@@ -443,8 +443,8 @@

def add_neighbours(self, trackid, scms, exclude_ids=None):
connection = self.get_database_connection()
- connection.commit()
connection.execute("DELETE FROM distance WHERE track_1 = ?",
(trackid,))
+ connection.commit()
self.close_database_connection(connection)
yield
min_add = 10

Reply all
Reply to author
Forward
0 new messages