Skip to content

Commit 88586bf

Browse files
committed
fix: spacing
1 parent a610b74 commit 88586bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

agent/site.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def restore_site_tables(self):
354354
output = self.execute(
355355
"set -o pipefail && "
356356
f"gunzip -c '{backup_file_path}' | "
357-
f"mysql -h {self.host} -u {self.user} -p{self.password} -P {self.port}"
357+
f"mysql -h {self.host} -u {self.user} -p{self.password} -P {self.port} "
358358
f"{self.database}",
359359
executable="/bin/bash",
360360
)
@@ -567,7 +567,7 @@ def restore_touched_tables(self):
567567
output = self.execute(
568568
"set -o pipefail && "
569569
f"gunzip -c '{backup_file}' | "
570-
f"mysql -h {self.host} -u {self.user} -p{self.password} -P {self.port}"
570+
f"mysql -h {self.host} -u {self.user} -p{self.password} -P {self.port} "
571571
f"{self.database}",
572572
executable="/bin/bash",
573573
)
@@ -582,7 +582,7 @@ def drop_new_tables(self):
582582
data = {"dropped": {}}
583583
for table in new_tables:
584584
output = self.execute(
585-
f"mysql -h {self.host} -u {self.user} -p{self.password} -P {self.port}"
585+
f"mysql -h {self.host} -u {self.user} -p{self.password} -P {self.port} "
586586
f"{self.database} -e 'DROP TABLE `{table}`'"
587587
)
588588
data["dropped"][table] = output
@@ -664,7 +664,7 @@ def timezone(self):
664664
)
665665
try:
666666
timezone = self.execute(
667-
f"mysql -h {self.host} -u{self.database} -p{self.password} -P {self.port}"
667+
f"mysql -h {self.host} -u{self.database} -p{self.password} -P {self.port} "
668668
f'-sN -e "{query}"'
669669
)["output"].strip()
670670
except Exception:

0 commit comments

Comments
 (0)