Skip to content

Commit

Permalink
Fix up bug in exclude table data naming variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
FlipperPA committed Jan 13, 2021
1 parent b50a86d commit 86d002d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pg_copy/management/commands/pg_backup.py
Expand Up @@ -75,7 +75,7 @@ def command(database, db_override, host_override, pg_home, filename, ignore_tabl

exclude_table_cmd = ""
for table in exclude_table_data:
ignore_table_cmd = " --exclude-table-data {table}{exclude_table_data}".format(
exclude_table_cmd = " --exclude-table-data {table}{exclude_table_cmd}".format(
table=table,
exclude_table_cmd=exclude_table_cmd,
)
Expand Down

0 comments on commit 86d002d

Please sign in to comment.