From 49bddf8f0e7e80db1273349f90bb5599b4b1fea1 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Tue, 17 Oct 2017 18:54:34 +0900 Subject: exceptions.py: Added LoadErrorReason.TRAILING_LIST_DIRECTIVE --- buildstream/exceptions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildstream/exceptions.py b/buildstream/exceptions.py index c33e7d7bf..7e334a369 100644 --- a/buildstream/exceptions.py +++ b/buildstream/exceptions.py @@ -103,6 +103,9 @@ class LoadErrorReason(Enum): USER_ASSERTION = 9 """An assertion was intentionally encoded into project YAML""" + TRAILING_LIST_DIRECTIVE = 10 + """A list composition directive did not apply to any underlying list""" + class LoadError(_BstError): """Raised while loading some YAML. -- cgit v1.2.1