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

Commit56ae1a8

Browse files
get_pg_version2 is updated
1 parenta5d6df4 commit56ae1a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎testgres/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ def get_pg_version2(os_ops: OsOperations, bin_dir=None):
212212

213213
# Get raw version (e.g., postgres (PostgreSQL) 9.5.7)
214214
postgres_path=os.path.join(bin_dir,'postgres')ifbin_direlseget_bin_path2(os_ops,'postgres')
215-
_params= [postgres_path,'--version']
216-
raw_ver=os_ops.exec_command(_params,encoding='utf-8')
215+
cmd= [postgres_path,'--version']
216+
raw_ver=os_ops.exec_command(cmd,encoding='utf-8')
217217

218218
returnparse_pg_version(raw_ver)
219219

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp