You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:34:44 UTC
[buildstream] 02/06: source.py: Fix documentation on
get_source_fetchers
This is an automated email from the ASF dual-hosted git repository.
not-in-ldap pushed a commit to branch 537-mirror-fallback-does-not-work-for-git
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit f969d8108630c3fda5a39f6791c408fd49a45a01
Author: Jonathan Maw <jo...@codethink.co.uk>
AuthorDate: Mon Aug 6 19:26:13 2018 +0100
source.py: Fix documentation on get_source_fetchers
---
buildstream/source.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/buildstream/source.py b/buildstream/source.py
index d58bfe2..9343f08 100644
--- a/buildstream/source.py
+++ b/buildstream/source.py
@@ -393,8 +393,8 @@ class Source(Plugin):
"""Get the objects that are used for fetching
If this source doesn't download from multiple URLs,
- returning None and falling back on the default behaviour
- is recommended.
+ returning an empty list and falling back on the default
+ behaviour is recommended.
Returns:
list: A list of SourceFetchers. If SourceFetchers are not supported,