Fixing regression of D29
ClosedPublic

Authored by lbrabec on Apr 10 2014, 9:23 AM.

Details

Summary

D29 regression fix brought regression elsewhere, this should fix it.

Test Plan

$ 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
kparal requested changes to this revision.Apr 10 2014, 10:47 AM

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

lbrabec updated this revision.Apr 15 2014, 6:20 AM
  • using listlike from python_utils
kparal requested changes to this revision.Apr 16 2014, 1:21 PM

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.

kparal accepted this revision.Apr 29 2014, 9:54 AM

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.

mkrizek accepted this revision.Apr 29 2014, 9:58 AM
kparal closed this revision.Apr 29 2014, 10:06 AM

Closed by commit rLTRNe82c9ecbbd60 (authored by @lbrabec, committed by @kparal).

@tflink, this is another patch we need to have deployed on staging.