Skip to content

Commit ea05a4a

Browse files
committed
Correction of remarks
1 parent 3a90ecd commit ea05a4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testgres/plugins/pg_probackup2/pg_probackup2/init_helpers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,10 @@ def __init__(self):
204204
os.environ["PGAPPNAME"] = "pg_probackup"
205205
self.delete_logs = delete_logs
206206

207-
if self.probackup_version.split('.')[0].isdigit:
207+
if self.probackup_version.split('.')[0].isdigit():
208208
self.major_version = int(self.probackup_version.split('.')[0])
209209
else:
210-
print('Pg_probackup version \"{}\" is not correct!'.format(self.probackup_version))
210+
print('Pg_probackup version \"{}\" is not correct! Expected that the major pg_probackup version should be a number.'.format(self.probackup_version))
211211
sys.exit(1)
212212

213213
def test_env(self):

0 commit comments

Comments
 (0)