base-files: change check_output (not available on python 2.6)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2013-04-19 12:01:52 +02:00
parent 977f4d35e4
commit 13ae6f8bc9
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def del_tag(d):
for layer in d.getVar('BBLAYERS', True).split():
if 'meta-digi-del' in layer:
cmd = 'git describe --tags --exact-match 2>/dev/null || true'
return subprocess.check_output(cmd, cwd=layer, shell=True)
return subprocess.Popen(cmd, cwd=layer, shell=True, stdout=subprocess.PIPE).stdout.read()
return ""
do_install_append() {