Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Lubken authored and jlubken committed Aug 24, 2020
1 parent e966aa2 commit 84a8cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsdk/persistor.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def extant(self, table: str) -> str:
"""Return extant table sql."""
if not ALPHA_NUMERIC_DOT.match(table):
raise ValueError(f"Not a sql identifier: {table}.")
return self.sql.extant.format({"table": table})
return self.sql.extant.format(table=table)

@contextmanager
def rollback(self) -> Generator[Any, None, None]:
Expand Down

0 comments on commit 84a8cf1

Please sign in to comment.