Fix Python 3 compatibility.
parent
1340c1c2ee
commit
14f181d2ba
|
@ -38,7 +38,7 @@ class TestTablesNode(BaseTestGenerator):
|
||||||
for index, description in enumerate(cursor.description):
|
for index, description in enumerate(cursor.description):
|
||||||
first_row[description.name] = fetch_result[0][index]
|
first_row[description.name] = fetch_result[0][index]
|
||||||
|
|
||||||
print first_row
|
print (first_row)
|
||||||
|
|
||||||
oid = first_row['oid']
|
oid = first_row['oid']
|
||||||
name = first_row['name']
|
name = first_row['name']
|
||||||
|
|
Loading…
Reference in New Issue