This is an automated email from the ASF dual-hosted git repository.

akitouni pushed a commit to branch bst-1
in repository https://gitbox.apache.org/repos/asf/buildstream.git


The following commit(s) were added to refs/heads/bst-1 by this push:
     new 2ae0d696f Ensure there is no extra whitespace in ref
     new 896267d0f Merge pull request #1663 from nanonyme/ostree
2ae0d696f is described below

commit 2ae0d696f4816cba933abe6a23b12b88037ce4f9
Author: Seppo Yli-Olli <[email protected]>
AuthorDate: Tue Jun 28 12:29:55 2022 +0300

    Ensure there is no extra whitespace in ref
---
 buildstream/plugins/sources/ostree.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildstream/plugins/sources/ostree.py 
b/buildstream/plugins/sources/ostree.py
index 6534795c9..a8adc64cd 100644
--- a/buildstream/plugins/sources/ostree.py
+++ b/buildstream/plugins/sources/ostree.py
@@ -136,7 +136,7 @@ class OSTreeSource(Source):
             fail="Failed to compute checksum of '{}' on '{}'".format(
                 self.tracking, self.mirror
             ),
-        )[1]
+        )[1].strip()
 
 
     def fetch(self):

Reply via email to