diff options
Diffstat (limited to 'meta/lib/oeqa/buildperf/base.py')
-rw-r--r-- | meta/lib/oeqa/buildperf/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py index 30b8e47556..6a8d9feb02 100644 --- a/meta/lib/oeqa/buildperf/base.py +++ b/meta/lib/oeqa/buildperf/base.py | |||
@@ -114,7 +114,7 @@ class BuildPerfTestResult(unittest.TextTestResult): | |||
114 | "and OE_BUILDPERFTEST_GIT_BRANCH environment variables") | 114 | "and OE_BUILDPERFTEST_GIT_BRANCH environment variables") |
115 | else: | 115 | else: |
116 | if not rev: | 116 | if not rev: |
117 | rev = self.repo.run_cmd(['rev-parse', 'HEAD']) | 117 | rev = self.repo.rev_parse('HEAD') |
118 | if not branch: | 118 | if not branch: |
119 | try: | 119 | try: |
120 | # Strip 11 chars, i.e. 'refs/heads' from the beginning | 120 | # Strip 11 chars, i.e. 'refs/heads' from the beginning |