summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-02-23 15:50:18 +0100
committerJürg Billeter <j@bitron.ch>2019-02-26 13:06:53 +0100
commitf832aad89045bf37cdd8df9f574618ef3cd8f133 (patch)
tree2f4f8c61c0aaab79e52f6de6dc92f8f368deaa0b
parent2f7cb99dff29060e1e31f24dacb8a0b9a0ba0966 (diff)
downloadbuildstream-f832aad89045bf37cdd8df9f574618ef3cd8f133.tar.gz
local.py: Remove unnecessary files argument from copy_files() call
-rw-r--r--buildstream/plugins/sources/local.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/plugins/sources/local.py b/buildstream/plugins/sources/local.py
index d4965cc9e..bdda91e2f 100644
--- a/buildstream/plugins/sources/local.py
+++ b/buildstream/plugins/sources/local.py
@@ -98,7 +98,7 @@ class LocalSource(Source):
if os.path.isdir(self.fullpath):
files = list(utils.list_relative_paths(self.fullpath))
- utils.copy_files(self.fullpath, directory, files=files)
+ utils.copy_files(self.fullpath, directory)
else:
destfile = os.path.join(directory, os.path.basename(self.path))
files = [os.path.basename(self.path)]