Commits on Source (4)
-
Benjamin Schubert authored
As per PEP 0479 (https://www.python.org/dev/peps/pep-0479/), StopIteration thrown in context managers are not valid starting from Python 3.7.
-
richardmaw-codethink authored
source.py: don't let StopIteration propagate to silence() contextmanager See merge request !945
-
_project.py: Added validate_nodes() helper function to prevent duplicate lists element-path was being used before node validation resulting in uncaught errors
-
Showing
- buildstream/_project.py 16 additions, 10 deletionsbuildstream/_project.py
- buildstream/source.py 22 additions, 20 deletionsbuildstream/source.py
- tests/frontend/invalid_element_path/project.conf 4 additions, 0 deletionstests/frontend/invalid_element_path/project.conf
- tests/frontend/show.py 13 additions, 0 deletionstests/frontend/show.py