Commit 98e4be92 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 84fe9dcc
...@@ -126,7 +126,7 @@ def test_join_autostart(): ...@@ -126,7 +126,7 @@ def test_join_autostart():
def _sync(self): def _sync(self):
print >>sys.stderr, "\n# >>> wcfs.Conn.sync" print >>sys.stderr, "\n# >>> wcfs.Conn.sync"
zurl = readfile(self.mountpoint + "/.wcfs") zurl = readfile(self.mountpoint + "/.wcfs")
bigfilev = os.listdir(self.mountpoint + "/bigfile") bigfilev = os.listdir(self.mountpoint + "/head/bigfile")
self.close() self.close()
subprocess.check_call(["fusermount", "-u", self.mountpoint]) subprocess.check_call(["fusermount", "-u", self.mountpoint])
...@@ -136,7 +136,7 @@ def _sync(self): ...@@ -136,7 +136,7 @@ def _sync(self):
# recreate bigfile entries # recreate bigfile entries
for bf in bigfilev: for bf in bigfilev:
os.mkdir("%s/bigfile/%s" % (self.mountpoint, bf)) os.stat("%s/head/bigfile/%s" % (self.mountpoint, bf))
print >>sys.stderr, "# <<< wcfs.Conn.sync\n" print >>sys.stderr, "# <<< wcfs.Conn.sync\n"
......
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