diff options
Diffstat (limited to 'src/buildstream/plugins/sources/tar.py')
-rw-r--r-- | src/buildstream/plugins/sources/tar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/plugins/sources/tar.py b/src/buildstream/plugins/sources/tar.py index e35b52f85..fc4f5736a 100644 --- a/src/buildstream/plugins/sources/tar.py +++ b/src/buildstream/plugins/sources/tar.py @@ -235,7 +235,7 @@ class TarSource(DownloadableFileSource): # Avoid considering the '.' directory, if any is included in the archive # this is to avoid the default 'base-dir: *' value behaving differently # depending on whether the tarball was encoded with a leading '.' or not - elif member_name == ".": + if member_name == ".": continue yield member_name |