From 6f58b18c8cff14d3ce736dc6a605a222ccf0d913 Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@kr.ethz.ch>
Date: Thu, 6 Oct 2011 20:52:34 +0200
Subject: [PATCH] remove legacy code, fail until type supports us

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
---
 lib/cdist/path.py | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/lib/cdist/path.py b/lib/cdist/path.py
index deeb6b0d..f7d2a8ae 100644
--- a/lib/cdist/path.py
+++ b/lib/cdist/path.py
@@ -262,16 +262,10 @@ class Path:
             # Do not retransfer
             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()
         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
         if len(type.explorers) > 0:
             # Ensure that the path exists