Skip to content

Commit

Permalink
Merge pull request #8 from perfact/master
Browse files Browse the repository at this point in the history
Backquotes removed for python3 compatibility.
  • Loading branch information
dataflake committed Nov 3, 2017
2 parents 905f146 + 8a4e67e commit fad402c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Shared/DC/ZRDB/dbi_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def query(self,query_string, max_rows=9999999):
if r is None: raise QueryError(
'select in multiple sql-statement query'
)
result.append((qs, str(`r`), calls))
result.append((qs, str(repr(r)), calls))
desc=nonselect_desc
else:
query_string=queries[0]
Expand All @@ -89,7 +89,7 @@ def query(self,query_string, max_rows=9999999):
result=c.fetchmany(max_rows)
desc=c.description
else:
result=((query_string, str(`r`), calls),)
result=((query_string, str(repr(r)), calls),)
desc=nonselect_desc
failures=0
c.close()
Expand Down

0 comments on commit fad402c

Please sign in to comment.