diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-10-14 20:44:41 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-10-14 20:44:41 +0900 |
commit | 5840fa534425e6aa44aa5cd84f2951d517a5d0aa (patch) | |
tree | e50e242f3a971d2bb20a74e0141a3a79e421838d | |
parent | c6826a167d468336d0534ee84efa2b4e4b289128 (diff) | |
download | buildstream-5840fa534425e6aa44aa5cd84f2951d517a5d0aa.tar.gz |
ostree.py source plugin: More informative error when missing track & ref
-rw-r--r-- | buildstream/plugins/sources/ostree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/plugins/sources/ostree.py b/buildstream/plugins/sources/ostree.py index d3a164101..1875384e6 100644 --- a/buildstream/plugins/sources/ostree.py +++ b/buildstream/plugins/sources/ostree.py @@ -82,7 +82,7 @@ class OSTreeSource(Source): self.repo = None if not (self.ref or self.tracking): - raise SourceError("Must specify either 'ref' or 'track' parameters") + raise SourceError("{}: Must specify either 'ref' or 'track' parameters".format(self)) def preflight(self): return |