Commit 532fb472 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fixed to work in Yocto 2.1 as well

parent 3dce79e9
......@@ -27,5 +27,6 @@ def revision_update(path,file):
res = subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)
except subprocess.CalledProcessError as e:
res = "error_"+e.returncode
res = str(int(res))
res = res.strip(' \t\n\r')
return res
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment