diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-08-22 14:40:35 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-08-22 14:40:35 +0000 |
commit | 213ba8f122249e52830c185e97d51d3cba89382b (patch) | |
tree | 39262ec4acde7438c4916e220087e18d825011f1 /src | |
parent | d9690cef36daef5884b1b289cfaced2452193c8b (diff) | |
download | bcfg2-213ba8f122249e52830c185e97d51d3cba89382b.tar.gz bcfg2-213ba8f122249e52830c185e97d51d3cba89382b.tar.bz2 bcfg2-213ba8f122249e52830c185e97d51d3cba89382b.zip |
One more schema evolution fix from Stousignant
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4889 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Server/Reports/updatefix.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Reports/updatefix.py b/src/lib/Server/Reports/updatefix.py index dbcce6d08..dde330214 100644 --- a/src/lib/Server/Reports/updatefix.py +++ b/src/lib/Server/Reports/updatefix.py @@ -42,8 +42,8 @@ def _merge_database_table_entries(): entry_id = entries_map[key] else: find_cursor.execute("Select id from reports_entries where name=%s and kind=%s", key) - row = find_cursor.fetchone() - entry_id = row[0] + rowe = find_cursor.fetchone() + entry_id = rowe[0] insert_cursor.execute("insert into reports_entries_interactions \ (entry_id, interaction_id, reason_id, type) values (%s, %s, %s, %s)", (entry_id, row[3], row[2], row[4])) |