Skip to content

Commit

Permalink
Trim trailing space
Browse files Browse the repository at this point in the history
  • Loading branch information
nurikk committed Dec 8, 2021
1 parent 4d77d3c commit f91aaa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pganonymizer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def build_and_then_import_data(connection, table, primary_key, columns,
if dry_run:
sql_select = Composed([sql_select, SQL(" LIMIT 100")])
logging.info(sql_select.as_string(connection))
cursor = connection.cursor(cursor_factory=psycopg2.extras.DictCursor, name='fetch_large_result')
cursor = connection.cursor(cursor_factory=psycopg2.extras.DictCursor, name='fetch_large_result')
cursor.execute(sql_select.as_string(connection))
temp_table = 'tmp_{table}'.format(table=table)
create_temporary_table(connection, columns, table, temp_table, primary_key)
Expand Down

0 comments on commit f91aaa7

Please sign in to comment.