From 3d2a51b39cdf6e0ae415136d3c36ce09c68ec8ae Mon Sep 17 00:00:00 2001 From: Raoul Hidalgo Charman Date: Mon, 20 May 2019 12:10:22 +0100 Subject: utils.py: remove misleading documentation copy_files and link_files suggested that a single file path is a valid argument when it isn't. --- src/buildstream/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buildstream/utils.py') diff --git a/src/buildstream/utils.py b/src/buildstream/utils.py index ade593750..f509ce998 100644 --- a/src/buildstream/utils.py +++ b/src/buildstream/utils.py @@ -356,7 +356,7 @@ def copy_files(src, dest, *, filter_callback=None, ignore_missing=False, report_ """Copy files from source to destination. Args: - src (str): The source file or directory + src (str): The source directory dest (str): The destination directory filter_callback (callable): Optional filter callback. Called with the relative path as argument for every file in the source directory. The file is @@ -395,7 +395,7 @@ def link_files(src, dest, *, filter_callback=None, ignore_missing=False, report_ """Hardlink files from source to destination. Args: - src (str): The source file or directory + src (str): The source directory dest (str): The destination directory filter_callback (callable): Optional filter callback. Called with the relative path as argument for every file in the source directory. The file is -- cgit v1.2.1