Commit 91093534 by willmcgugan

Removed forgotten debug prints

parent 9c879d04
...@@ -14,8 +14,7 @@ Make a directory""" ...@@ -14,8 +14,7 @@ Make a directory"""
def do_run(self, options, args): def do_run(self, options, args):
for fs_url in args: for fs_url in args:
fs, path = self.open_fs(fs_url, create=True) fs, path = self.open_fs(fs_url, create=True)
print fs, path
def run(): def run():
return FSMkdir().run() return FSMkdir().run()
......
...@@ -99,6 +99,7 @@ def movefile(src_fs, src_path, dst_fs, dst_path, overwrite=True, chunk_size=64*1 ...@@ -99,6 +99,7 @@ def movefile(src_fs, src_path, dst_fs, dst_path, overwrite=True, chunk_size=64*1
src.close() src.close()
src_fs.remove(src_path) src_fs.remove(src_path)
def movedir(fs1, fs2, overwrite=False, ignore_errors=False, chunk_size=64*1024): def movedir(fs1, fs2, overwrite=False, ignore_errors=False, chunk_size=64*1024):
"""Moves contents of a directory from one filesystem to another. """Moves contents of a directory from one filesystem to another.
......
...@@ -38,7 +38,8 @@ class SubFS(WrapFS): ...@@ -38,7 +38,8 @@ class SubFS(WrapFS):
def __repr__(self): def __repr__(self):
return str(self) return str(self)
def desc(self, path): def desc(self, path):
#return self.wrapped_fs.desc(join(self.sub_dir, path))
desc = "%s!%s" % (str(self), path) desc = "%s!%s" % (str(self), path)
return desc return desc
......
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