summaryrefslogtreecommitdiffstats
path: root/meta/classes/image-buildinfo.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-05 07:18:41 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-05 07:19:02 (GMT)
commit04319c0340010c4e0f78cab252cfcb0ebe23ee84 (patch)
tree27cdfb20fd781d510818db8aadf0412550063d0b /meta/classes/image-buildinfo.bbclass
parent928e1335d4206bdd5f25a7d58a0f8398a65467b6 (diff)
downloadpoky-04319c0340010c4e0f78cab252cfcb0ebe23ee84.tar.gz
image-buildinfo: Update to python3 syntax
(From OE-Core rev: 6e7d9dd9b5cbf46b955036876a25353fafbf264c) 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 197b242..83d0db3 100644
--- a/meta/classes/image-buildinfo.bbclass
+++ b/meta/classes/image-buildinfo.bbclass
@@ -32,7 +32,7 @@ def get_layer_git_status(path):
32 shell=True, 32 shell=True,
33 stderr=subprocess.STDOUT) 33 stderr=subprocess.STDOUT)
34 return "" 34 return ""
35 except subprocess.CalledProcessError, ex: 35 except subprocess.CalledProcessError as ex:
36 # Silently treat errors as "modified", without checking for the 36 # Silently treat errors as "modified", without checking for the
37 # (expected) return code 1 in a modified git repo. For example, we get 37 # (expected) return code 1 in a modified git repo. For example, we get
38 # output and a 129 return code when a layer isn't a git repo at all. 38 # output and a 129 return code when a layer isn't a git repo at all.