Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitedcf4c6

Browse files
committed
Cleanup
1 parent70aa1da commitedcf4c6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎testgres/node.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -877,10 +877,13 @@ def restore(self, filename, dbname=None, username=None):
877877
username=usernameordefault_username()
878878

879879
_params= [
880-
get_bin_path("pg_restore"),"-p",
881-
str(self.port),"-h",self.host,"-U",username,"-d",dbname,
880+
get_bin_path("pg_restore"),
881+
"-p",str(self.port),
882+
"-h",self.host,
883+
"-U",username,
884+
"-d",dbname,
882885
filename
883-
]
886+
]# yapf: disable
884887

885888
# try pg_restore if dump is binary formate, and psql if not
886889
try:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp