Commit b00a5063 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 131553f9
......@@ -662,10 +662,11 @@ class ZBigFile(LivePersistent):
wcfileh = None
if _use_wcfs:
# TODO maintain zconn -> wconn in sync (p_jar -> wconn)
zstor = self._p_jar.db().storage
zconn = self._p_jar
zstor = zconn.db().storage
zurl = wcfs.zstor_2zurl(zstor)
wc = wcfs.join(zurl)
wconn = wc.connect(p_jar.at())
wconn = wc.connect(zconn.at())
wcfileh = wconn.open(self._p_oid)
fileh = _ZBigFileH(self, wcfileh)
......
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