remove legacy code, fail until type supports us

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-06 20:52:34 +02:00
parent 35a7757e1a
commit 6f58b18c8c

View file

@ -262,16 +262,10 @@ class Path:
# Do not retransfer # Do not retransfer
type.transferred = True type.transferred = True
# FIXME: need to get explorer path from type! # FIXME: Can be explorer_path or explorer_dir, I don't care.
src = type.explorer_path() src = type.explorer_path()
dst = type.remote_explorer_path() dst = type.remote_explorer_path()
# FIXME: where to construct remote path? here?
# remote_base = os.path.join(REMOTE_TYPE_DIR, type.name)
# dst = self.remote_type_explorer_dir(type)
# Only continue, if there is at least the directory
#if os.path.isdir(src):
# Transfer if there is at least one explorer # Transfer if there is at least one explorer
if len(type.explorers) > 0: if len(type.explorers) > 0:
# Ensure that the path exists # Ensure that the path exists