Skip to content

Commit

Permalink
fixed inline comments to flake8 specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
igncampa committed Mar 27, 2018
1 parent cd4db4c commit a500e4b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions postgres_copy/copy_to.py
Expand Up @@ -52,14 +52,14 @@ def execute_sql(self, csv_path=None):
copy_to_sql = \
"COPY ({0}) TO STDOUT DELIMITER '{1}' CSV {2} {3} {4} {5} {6} {7}"
copy_to_sql = copy_to_sql.format(
select_sql, #0
self.query.copy_to_delimiter, #1
self.query.copy_to_header, #2
self.query.copy_to_null_string, #3
self.query.copy_to_quote_char, #4
self.query.copy_to_force_quote, #5
self.query.copy_to_encoding, #6
self.query.copy_to_escape, #7
select_sql, # 0
self.query.copy_to_delimiter, # 1
self.query.copy_to_header, # 2
self.query.copy_to_null_string, # 3
self.query.copy_to_quote_char, # 4
self.query.copy_to_force_quote, # 5
self.query.copy_to_encoding, # 6
self.query.copy_to_escape, # 7
)
# then execute
logger.debug(copy_to_sql)
Expand Down

0 comments on commit a500e4b

Please sign in to comment.