Skip to content

Commit

Permalink
fix: spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh6790 committed Sep 4, 2024
1 parent 8318b82 commit 60290e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agent/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def restore_site_tables(self):
output = self.execute(
"set -o pipefail && "
f"gunzip -c '{backup_file_path}' | "
f"mysql -h {self.host} -u {self.user} -p{self.password} -P {self.port}"
f"mysql -h {self.host} -u {self.user} -p{self.password} -P {self.port} "
f"{self.database}",
executable="/bin/bash",
)
Expand Down Expand Up @@ -581,7 +581,7 @@ def restore_touched_tables(self):
output = self.execute(
"set -o pipefail && "
f"gunzip -c '{backup_file}' | "
f"mysql -h {self.host} -u {self.user} -p{self.password} -P {self.port}"
f"mysql -h {self.host} -u {self.user} -p{self.password} -P {self.port} "
f"{self.database}",
executable="/bin/bash",
)
Expand All @@ -596,7 +596,7 @@ def drop_new_tables(self):
data = {"dropped": {}}
for table in new_tables:
output = self.execute(
f"mysql -h {self.host} -u {self.user} -p{self.password} -P {self.port}"
f"mysql -h {self.host} -u {self.user} -p{self.password} -P {self.port} "
f"{self.database} -e 'DROP TABLE `{table}`'"
)
data["dropped"][table] = output
Expand Down

0 comments on commit 60290e6

Please sign in to comment.