Commit 1c67ee17 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 317a1a0b
...@@ -33,7 +33,7 @@ from persistent.timestamp import TimeStamp ...@@ -33,7 +33,7 @@ from persistent.timestamp import TimeStamp
import os, os.path, sys, subprocess import os, os.path, sys, subprocess
from errno import EINVAL from errno import EINVAL
from golang import func, method, defer from golang import func, method, defer
from zodbtools.util import ashex as h from zodbtools.util import ashex as h, fromhex
from pytest import raises from pytest import raises
testdb = None testdb = None
...@@ -185,7 +185,7 @@ def test_wcfs(): ...@@ -185,7 +185,7 @@ def test_wcfs():
def wcsync(): def wcsync():
while len(Z.wctidv) < len(Z.tidv): while len(Z.wctidv) < len(Z.tidv):
l = wc_zhead.readline() l = wc_zhead.readline()
l = rstrip('\n') l = l.rstrip('\n')
wctid = fromhex(l) wctid = fromhex(l)
i = len(Z.wctidv) i = len(Z.wctidv)
if wctid != Z.tidv[i]: if wctid != Z.tidv[i]:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment