We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a0c37b commit 5db4ae3Copy full SHA for 5db4ae3
1 file changed
testgres/plugins/pg_probackup2/pg_probackup2/init_helpers.py
@@ -204,9 +204,11 @@ def __init__(self):
204
os.environ["PGAPPNAME"] = "pg_probackup"
205
self.delete_logs = delete_logs
206
207
- self.major_version = 0
208
if self.probackup_version.split('.')[0].isdigit:
209
self.major_version = int(self.probackup_version.split('.')[0])
+ else:
210
+ print('Pg_probackup version is not correct!')
211
+ sys.exit(1)
212
213
def test_env(self):
214
return self._test_env.copy()
0 commit comments