Skip to content

Commit 21437ad

Browse files
authored
Merge pull request #26 from gsmol/master
python3 fix for get_control_data
2 parents 12f267e + b9f34cb commit 21437ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testgres/testgres.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def get_control_data(self):
457457
lines = subprocess.check_output(
458458
[pg_controldata] + ["-D", self.data_dir],
459459
stderr=subprocess.STDOUT
460-
).splitlines()
460+
).decode("utf-8").splitlines()
461461
except subprocess.CalledProcessError as e:
462462
raise PgcontroldataException(e.output, e.cmd)
463463

0 commit comments

Comments
 (0)