Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results.py

Issue 2679173005: Rename Host.scm -> Host.git. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results.py
index a679b915c5d3165ef0a6ba183534974f294c43c7..936eb3efe2fa2a016814cf44c637f5fbe4438b52 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/layout_test_results.py
@@ -114,12 +114,12 @@ class LayoutTestResults(object):
return self._results["builder_name"]
@memoized
- def chromium_revision(self, scm=None):
+ def chromium_revision(self, git=None):
"""Returns the revision of the results in commit position number format."""
revision = self._chromium_revision or self._results["chromium_revision"]
if not revision.isdigit():
- assert scm, "scm is required if the original revision is a git hash."
- revision = scm.commit_position_from_git_commit(revision)
+ assert git, "git is required if the original revision is a git hash."
+ revision = git.commit_position_from_git_commit(revision)
return int(revision)
def result_for_test(self, test):

Powered by Google App Engine
This is Rietveld 408576698