[oe-commits] [openembedded-core] branch master updated: image-buildinfo: Update to python3 syntax

git at git.openembedded.org git at git.openembedded.org
Sun Jun 5 07:19:24 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

The following commit(s) were added to refs/heads/master by this push:
       new  6e7d9dd   image-buildinfo: Update to python3 syntax
6e7d9dd is described below

commit 6e7d9dd9b5cbf46b955036876a25353fafbf264c
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sun Jun 5 08:18:41 2016 +0100

    image-buildinfo: Update to python3 syntax
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/image-buildinfo.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list