mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
image-buildinfo: Update to python3 syntax
(From OE-Core rev: 6e7d9dd9b5cbf46b955036876a25353fafbf264c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -32,7 +32,7 @@ def get_layer_git_status(path):
|
|||||||
shell=True,
|
shell=True,
|
||||||
stderr=subprocess.STDOUT)
|
stderr=subprocess.STDOUT)
|
||||||
return ""
|
return ""
|
||||||
except subprocess.CalledProcessError, ex:
|
except subprocess.CalledProcessError as ex:
|
||||||
# Silently treat errors as "modified", without checking for the
|
# Silently treat errors as "modified", without checking for the
|
||||||
# (expected) return code 1 in a modified git repo. For example, we get
|
# (expected) return code 1 in a modified git repo. For example, we get
|
||||||
# output and a 129 return code when a layer isn't a git repo at all.
|
# output and a 129 return code when a layer isn't a git repo at all.
|
||||||
|
|||||||
Reference in New Issue
Block a user