D29 regression fix brought regression elsewhere, this should fix it.
Details
- Reviewers
kparal mkrizek - Maniphest Tasks
- T95: Make task output in the runner more readable
- Commits
- rLTRNe82c9ecbbd60: Log tap output properly, don't print strings per-character
$ python runtask.py -e xchat-2.8.8-21.fc20 -a x86_64 yaml_file
where yaml_file is YAML file (e.g. rpmlint.yml from task-rpmlint repo.
$ python runtask.py -e tigervnc-1.3.0-14.fc20 -a x86_64 ../task-examplebodhi/examplebodhi.yml
Output should look as expected.
Diff Detail
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Can you please investigate why task_runner.working_data[output] is sometimes a string and sometimes a list? Is it a bug? Can we make it better somewhere? Thanks.
libtaskotron/runner.py | ||
---|---|---|
187–190 | python_utils.listlike() would be safer here |
Can you please investigate why task_runner.working_data[output] is sometimes a string and sometimes a list? Is it a bug? Can we make it better somewhere? Thanks.
Just to keep the Phab processes happy, this is still waiting on the request above.
Because we need something working soon, I'm going to accept and commit this patch, and @lbrabec will prepare a proper fix as a new review request.
python_utils.listlike() would be safer here