1 |
commit: 1191464787d9d5c2bba27290b28abe2f7bbd257f |
2 |
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 27 11:05:39 2011 +0000 |
4 |
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 27 11:05:39 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/zorry.git;a=commit;h=11914647 |
7 |
|
8 |
uncommet update of time for fail_querue_dict |
9 |
|
10 |
--- |
11 |
gobs/pym/pgsql.py | 4 ++-- |
12 |
1 files changed, 2 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/gobs/pym/pgsql.py b/gobs/pym/pgsql.py |
15 |
index 9979b1b..d181129 100644 |
16 |
--- a/gobs/pym/pgsql.py |
17 |
+++ b/gobs/pym/pgsql.py |
18 |
@@ -573,7 +573,7 @@ def update_fail_times(connection, fail_querue_dict): |
19 |
sqlQ1 = 'UPDATE querue_retest SET fail_times = %s WHERE querue_id = %s AND fail_type = %s' |
20 |
sqlQ2 = 'UPDATE buildqueue SET timestamp = NOW() WHERE queue_id = %s' |
21 |
cursor.execute(sqlQ1, (fail_querue_dict['fail_times'], fail_querue_dict['querue_id'], fail_querue_dict['fail_type'],)) |
22 |
- #cursor.execute(sqlQ2, (fail_querue_dict['querue_id'],)) |
23 |
+ cursor.execute(sqlQ2, (fail_querue_dict['querue_id'],)) |
24 |
connection.commit() |
25 |
|
26 |
def get_fail_querue_dict(connection, build_dict): |
27 |
@@ -592,7 +592,7 @@ def add_fail_querue_dict(connection, fail_querue_dict): |
28 |
sqlQ1 = 'INSERT INTO querue_retest (querue_id, fail_type, fail_times) VALUES ( %s, %s, %s)' |
29 |
sqlQ2 = 'UPDATE buildqueue SET timestamp = NOW() WHERE queue_id = %s' |
30 |
cursor.execute(sqlQ1, (fail_querue_dict['querue_id'],fail_querue_dict['fail_type'], fail_querue_dict['fail_times'])) |
31 |
- #cursor.execute(sqlQ2, (fail_querue_dict['querue_id'],)) |
32 |
+ cursor.execute(sqlQ2, (fail_querue_dict['querue_id'],)) |
33 |
connection.commit() |
34 |
|
35 |
def make_conf_error(connection,config_profile): |