1 |
commit: 890940ff0a7c43541fd741221f80ebc1cf688acb |
2 |
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 1 23:34:42 2012 +0000 |
4 |
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 1 23:34:42 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/zorry.git;a=commit;h=890940ff |
7 |
|
8 |
fix tuple index out of range |
9 |
|
10 |
--- |
11 |
gobs/pym/pgsql_querys.py | 2 +- |
12 |
1 files changed, 1 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/gobs/pym/pgsql_querys.py b/gobs/pym/pgsql_querys.py |
15 |
index 5eafd19..b74d18c 100644 |
16 |
--- a/gobs/pym/pgsql_querys.py |
17 |
+++ b/gobs/pym/pgsql_querys.py |
18 |
@@ -46,7 +46,7 @@ def update_make_conf(connection, configsDict): |
19 |
cursor = connection.cursor() |
20 |
sqlQ = 'UPDATE configs_metadata SET checksum = %s, make_conf_text = %s, active = %s, config_error = %s WHERE config_id = (SELECT config_id FROM configs WHERE config = %s)' |
21 |
for k, v in configsDict.iteritems(): |
22 |
- cursor.execute(sqlQ, ([v['make_conf_checksum_tree'], v['make_conf_text'], v['active'], v['config_error'], k],)) |
23 |
+ cursor.execute(sqlQ, (v['make_conf_checksum_tree'], v['make_conf_text'], v['active'], v['config_error'], k,)) |
24 |
connection.commit() |
25 |
|
26 |
def get_default_config(connection): |