Index: tools/release/common_includes.py |
diff --git a/tools/release/common_includes.py b/tools/release/common_includes.py |
index 0238d95244331a2b29d8b51ebf547bd0f8512e7f..03b0c5b7d49fc3fe9d4149523e5da2b4af5c86af 100644 |
--- a/tools/release/common_includes.py |
+++ b/tools/release/common_includes.py |
@@ -339,10 +339,10 @@ class GitInterface(VCInterface): |
if name in ["candidates", "master"]: |
return "refs/remotes/origin/%s" % name |
# Check if branch is in heads. |
- if self.Git("show-ref refs/remotes/origin/%s" % name).strip(): |
+ if self.step.Git("show-ref refs/remotes/origin/%s" % name).strip(): |
return "refs/remotes/origin/%s" % name |
# Check if branch is in branch-heads. |
- if self.Git("show-ref refs/remotes/branch-heads/%s" % name).strip(): |
+ if self.step.Git("show-ref refs/remotes/branch-heads/%s" % name).strip(): |
return "refs/remotes/branch-heads/%s" % name |
self.Die("Can't find remote of %s" % name) |