fix ptrack

This commit is contained in:
sfalkon
2017-11-07 17:47:38 +03:00
parent 3ba30a9742
commit ea85c50230
+1 -1
View File
@@ -40,7 +40,7 @@ class SimpleTest(ProbackupTest, unittest.TestCase):
if self.verbose:
print('Killing postmaster. Losing Ptrack changes')
node.pg_ctl('stop', {'-m': 'immediate', '-D': '{0}'.format(node.data_dir)})
node.pg_ctl('stop', ['-m', 'immediate', '-D', node.data_dir])
if not node.status():
node.start()
else: