diff options
-rw-r--r-- | 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 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): | |||
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. |