diff options
-rw-r--r-- | meta/lib/oeqa/utils/metadata.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/metadata.py b/meta/lib/oeqa/utils/metadata.py index 70a27569f2..e0808ae0ac 100644 --- a/meta/lib/oeqa/utils/metadata.py +++ b/meta/lib/oeqa/utils/metadata.py | |||
@@ -76,6 +76,7 @@ def git_rev_info(path): | |||
76 | info['commit_count'] = int(subprocess.check_output(["git", "rev-list", "--count", "HEAD"], cwd=path).decode('utf-8').strip()) | 76 | info['commit_count'] = int(subprocess.check_output(["git", "rev-list", "--count", "HEAD"], cwd=path).decode('utf-8').strip()) |
77 | except subprocess.CalledProcessError: | 77 | except subprocess.CalledProcessError: |
78 | pass | 78 | pass |
79 | return info | ||
79 | try: | 80 | try: |
80 | repo = Repo(path, search_parent_directories=True) | 81 | repo = Repo(path, search_parent_directories=True) |
81 | except (InvalidGitRepositoryError, NoSuchPathError): | 82 | except (InvalidGitRepositoryError, NoSuchPathError): |