You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a quick look at fixing this but I wasn't completely sure what the current partly_rendered logic is trying to achieve.
This is the error, which seems to stem from the format string being passed to util.Interpolate now using syntax that isn't really compatible with Python % based formatting.
Traceback (most recent call last):
File "/home/asb/repos/llvm-zorg/test/buildbot/builders/unified_cmakeex.py", line 93, in <module>
assert factory_has_step(f, "Checkout the source code")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/asb/repos/llvm-zorg/test/buildbot/builders/unified_cmakeex.py", line 38, in factory_has_step
v = partly_rendered(s.kwargs.get("name"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/asb/repos/llvm-zorg/test/buildbot/builders/unified_cmakeex.py", line 19, in partly_rendered
return r.fmtstring % interpolations
~~~~~~~~~~~~^~~~~~~~~~~~~~~~
KeyError: 'kw:hint:-'
The text was updated successfully, but these errors were encountered:
…#235).
* updated the step formatting with 'hint' argument (aoid usage of substitutions).
* allowed only 'str' or None for the 'hint' agrument.
* updated 'test/buildbot/builders/unified_cmakeex.py' test for the factory changes accordingly.
…. (#237)
The changes for UnifiedTreeBuilder.getCmakeExBuildFactory factory and
its test:
* updated the step formatting with 'hint' argument (avoid usage of
substitutions).
* allowed only 'str' or None for the 'hint' argument.
* updated 'test/buildbot/builders/unified_cmakeex.py' test for the
factory changes accordingly.
See #235 for more details.
I had a quick look at fixing this but I wasn't completely sure what the current
partly_rendered
logic is trying to achieve.This is the error, which seems to stem from the format string being passed to
util.Interpolate
now using syntax that isn't really compatible with Python%
based formatting.The text was updated successfully, but these errors were encountered: