We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3ac7d5 commit 94caeb1Copy full SHA for 94caeb1
tests/helpers/ptrack_helpers.py
@@ -100,11 +100,7 @@ def is_enterprise():
100
stdout=subprocess.PIPE,
101
stderr=subprocess.PIPE
102
)
103
- if b'enterprise' in p.communicate()[0]:
104
- return True
105
- else:
106
- return False
107
-
+ return b'postgrespro.ru' in p.communicate()[0]
108
109
class ProbackupException(Exception):
110
def __init__(self, message, cmd):
0 commit comments