summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos Evripiotis <jevripiotis@bloomberg.net>2017-10-27 16:25:30 +0100
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-30 20:15:43 +0900
commitf10815ee0a9eeb9c7d595b32608f2dd63ca9a7bf (patch)
tree74318b31a4fb96d50f8d8d5f45dd062155e6eaa2
parent4bc656c598d5eaa47bfe52c4956311a0ef64aacc (diff)
downloadbuildstream-f10815ee0a9eeb9c7d595b32608f2dd63ca9a7bf.tar.gz
utils.list_relative_paths: Clarify empty dirs note
-rw-r--r--buildstream/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildstream/utils.py b/buildstream/utils.py
index 1e77741fa..7caf107a4 100644
--- a/buildstream/utils.py
+++ b/buildstream/utils.py
@@ -67,7 +67,8 @@ def list_relative_paths(directory):
This generator is useful for checking the full manifest of
a directory.
- Note that only empty directories will be yielded.
+ Note that directories will be yielded only if they are
+ empty.
Symbolic links will not be followed, but will be included
in the manifest.