Hi All,
In switching pybindingsÂfrom htcondor to htcondor2, I noticed a weird issue with Submit.itemdata().
With a basic python file like:
import htcondor2 as htcondor
s = htcondor.Submit("""
executable = /usr/bin/sleep
arguments = $(b)
+extra_arg = $(a)
queue a,b from (
 "test",123
)
""")
print(list(s.itemdata()))
Using the old htcondor pybinding fromÂ24.12.13 it printsÂ
[{'a': '"test"', 'b': '123'}]
But with htcondor2 from 25.2.1, it instead prints
[{'a': '"', 'b': 't'}]
Somehow, Submit.itemdata() is now iterating by character instead of by classad item.
Anyone have any ideas?
Best,
David