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

Commit02aef65

Browse files
committed
Fix is_enterprise checking in ptrack_helpers.py
1 parent94fd54a commit02aef65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎tests/helpers/ptrack_helpers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,17 @@ def dir_files(base_dir):
9090
defis_enterprise():
9191
# pg_config --help
9292
ifos.name=='posix':
93-
cmd= [os.environ['PG_CONFIG'],'--help']
93+
cmd= [os.environ['PG_CONFIG'],'--pgpro-edition']
9494

9595
elifos.name=='nt':
96-
cmd= [[os.environ['PG_CONFIG']], ['--help']]
96+
cmd= [[os.environ['PG_CONFIG']], ['--pgpro-edition']]
9797

9898
p=subprocess.Popen(
9999
cmd,
100100
stdout=subprocess.PIPE,
101101
stderr=subprocess.PIPE
102102
)
103-
ifb'postgrespro.ru'inp.communicate()[0]:
103+
ifb'enterprise'inp.communicate()[0]:
104104
returnTrue
105105
else:
106106
returnFalse

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp