Skip to content

Commit

Permalink
Merge "Changes needed for old python version"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Feb 1, 2017
2 parents 83cc89f + 8185588 commit ae7449b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opserver/opserver.py
Expand Up @@ -139,7 +139,7 @@ def redis_query_start(host, port, redis_password, qid, inp, columns):
if columns is not None:
for col in columns:
m = TableSchema(name = col.name, datatype = col.datatype, index = col.index, suffixes = col.suffixes)
col_list.append(m.__dict__)
col_list.append(m._asdict())
query_metadata = {}
query_metadata['enqueue_time'] = OpServerUtils.utc_timestamp_usec()
redish.hset("QUERY:" + qid, 'query_metadata', json.dumps(query_metadata))
Expand Down

0 comments on commit ae7449b

Please sign in to comment.