Update packages_yaml.rst (#42438)

Fix an incorrect example.
This commit is contained in:
Matthew Whitlock 2024-02-02 05:05:26 -05:00 committed by Massimiliano Culpo
parent 9963e2a20c
commit 0616290c7f

View file

@ -546,10 +546,11 @@ You can assign class-level attributes in the configuration:
packages: packages:
mpileaks: mpileaks:
# Override existing attributes package_attributes:
url: http://www.somewhereelse.com/mpileaks-1.0.tar.gz # Override existing attributes
# ... or add new ones url: http://www.somewhereelse.com/mpileaks-1.0.tar.gz
x: 1 # ... or add new ones
x: 1
Attributes set this way will be accessible to any method executed Attributes set this way will be accessible to any method executed
in the package.py file (e.g. the ``install()`` method). Values for these in the package.py file (e.g. the ``install()`` method). Values for these