diff configmix/config.py @ 723:c17a4e30ebbf

Docs for nested filters
author Franz Glasner <f.glasner@feldmann-mg.com>
date Wed, 16 Aug 2023 17:04:14 +0200
parents ea1a6beadc6c
children 75d37575472b
line wrap: on
line diff
--- a/configmix/config.py	Wed Aug 16 16:28:42 2023 +0200
+++ b/configmix/config.py	Wed Aug 16 17:04:14 2023 +0200
@@ -1031,7 +1031,7 @@
                 and (s[2] == _FILTER_SEPARATOR)
                 and (start == 0)):
             if s.find(_ENDTOK_FILTER, 3) != (len_s - 3):
-                raise ValueError("`{{|' global filter interpolation must end with `|}}'")
+                raise ValueError("`{{|' nested filter interpolation must end with `|}}'")
             new_s, filters = _split_filters(s[3:-3], -1)
             try:
                 varvalue = self.py_interpolate_variables(new_s)