From 273b5e0183f8676a2fe977fb437b585024525916 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Fri, 9 Dec 2016 08:38:34 +0100 Subject: [PATCH] Fix linting error in file_copy plugin --- bootstrapvz/plugins/file_copy/tasks.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bootstrapvz/plugins/file_copy/tasks.py b/bootstrapvz/plugins/file_copy/tasks.py index 89345a8..484bdab 100644 --- a/bootstrapvz/plugins/file_copy/tasks.py +++ b/bootstrapvz/plugins/file_copy/tasks.py @@ -69,9 +69,4 @@ class FileCopyCommand(Task): else: shutil.copytree(src_path, final_destination) - if os.path.isfile(src_path) and os.path.isdir(final_destination): - dst = os.path.join(final_destination, os.path.basename(src_path)) - else: - dst = final_destination - modify_path(info, file_entry['dst'], file_entry)