commit | cd2c61201c3a2df7ad61601f67e9a6c34e078da2 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Tue Sep 04 14:24:20 2018 -0700 |
committer | Haibo Huang <hhb@google.com> | Tue Sep 04 21:25:11 2018 +0000 |
tree | 49fff09fb5218d4e197caf2ba37ad4be97823452 | |
parent | 0d3810fd8d9c3817efa03ed0d29d7ec2e26984b1 [diff] [blame] |
[Updater] Fix formats and add comments Test: NA Change-Id: If5d8d0ea5903e1cf4c2cb62dd3802fb3706458cb
diff --git a/git_utils.py b/git_utils.py index abfcea7..580b3f3 100644 --- a/git_utils.py +++ b/git_utils.py
@@ -111,4 +111,5 @@ def is_commit(commit): + """Whether a string looks like a SHA1 hash.""" return bool(COMMIT_RE.match(commit))