[gnome-continuous-yocto/gnomeostree-3.28-rocko: 751/8267] image-buildinfo: Update to python3 syntax
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 751/8267] image-buildinfo: Update to python3 syntax
- Date: Sat, 16 Dec 2017 20:51:56 +0000 (UTC)
commit 04319c0340010c4e0f78cab252cfcb0ebe23ee84
Author: Richard Purdie <richard purdie linuxfoundation org>
Date: Sun Jun 5 08:18:41 2016 +0100
image-buildinfo: Update to python3 syntax
(From OE-Core rev: 6e7d9dd9b5cbf46b955036876a25353fafbf264c)
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/classes/image-buildinfo.bbclass | 2 +-
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):
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]