diff options
Diffstat (limited to 'buildstream/_yaml.py')
-rw-r--r-- | buildstream/_yaml.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/buildstream/_yaml.py b/buildstream/_yaml.py index 3d718f9ad..c1297e9dd 100644 --- a/buildstream/_yaml.py +++ b/buildstream/_yaml.py @@ -196,11 +196,6 @@ class Representer: "Invalid input detected. No handler for {} in state {} at line {} column {}" .format(event, self.state, event.start_mark.line, event.start_mark.column)) - if handler is None: - raise YAMLLoadError( - "Invalid input detected. No handler for {} in state {} at line {} column {}" - .format(event, self.state, event.start_mark.line, event.start_mark.column)) - self.state = handler(event) # pylint: disable=not-callable # Get the output of the YAML parse |