1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-05 13:20:31 +02:00

fix ptrack

This commit is contained in:
sfalkon 2017-11-07 14:51:29 +03:00
parent f7052186c2
commit 1091662479

View File

@ -231,7 +231,7 @@ class ProbackupTest(object):
def get_md5_per_page_for_fork(self, file, size_in_pages):
pages_per_segment = {}
md5_per_page = {}
nsegments = size_in_pages / 131072
nsegments = size_in_pages // 131072
if size_in_pages % 131072 != 0:
nsegments = nsegments + 1
# print("Size: {0}".format(size_in_pages))