Re: [OE-core] [PATCH 1/3] subprocess: remove strings and migrate to direct arrays

2016-09-30 Thread Burton, Ross
On 29 September 2016 at 22:34, Stephano Cetola < stephano.cet...@linux.intel.com> wrote: > -cmd = "%s %s query --output %s" % \ > - (self.smart_cmd, self.smart_opt, available_manifest) > +cmd = [self.smart_cmd, self.smart_opt, 'query', '--output', > available_manifest

[OE-core] [PATCH 1/3] subprocess: remove strings and migrate to direct arrays

2016-09-29 Thread Stephano Cetola
When using subprocess call and check_output, it is better to use arrays rather than strings when possible to avoid whitespace and quoting problems. [ YOCTO #9342 ] Signed-off-by: Stephano Cetola --- meta/lib/oe/distro_check.py| 2 +- meta/lib/oe/package.py | 13 +- meta/lib