summaryrefslogtreecommitdiff
path: root/meta/classes/image-buildinfo.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-05 08:18:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-05 08:18:50 +0100
commit6e7d9dd9b5cbf46b955036876a25353fafbf264c (patch)
tree318a11779f1792bd3724b240f731ad29c00b281e /meta/classes/image-buildinfo.bbclass
parentf12fe90a78ca1239691e8fd8f7b06ce59b8b72cc (diff)
downloadopenembedded-core-6e7d9dd9b5cbf46b955036876a25353fafbf264c.tar.gz
openembedded-core-6e7d9dd9b5cbf46b955036876a25353fafbf264c.tar.bz2
openembedded-core-6e7d9dd9b5cbf46b955036876a25353fafbf264c.zip
image-buildinfo: Update to python3 syntax
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image-buildinfo.bbclass')
-rw-r--r--meta/classes/image-buildinfo.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image-buildinfo.bbclass b/meta/classes/image-buildinfo.bbclass
index 197b24235b..83d0db37d8 100644
--- a/meta/classes/image-buildinfo.bbclass
+++ b/meta/classes/image-buildinfo.bbclass
@@ -32,7 +32,7 @@ def get_layer_git_status(path):
shell=True,
stderr=subprocess.STDOUT)
return ""
- except subprocess.CalledProcessError, ex:
+ except subprocess.CalledProcessError as ex:
# Silently treat errors as "modified", without checking for the
# (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.