findmissing: Make repo upload happy
Apparently additional checks have been added to the uploader
since the last commit. Fix all reported errors prior to the next commit.
BUG=b:215375528
TEST=Upload using "repo upload" succeeds
Change-Id: I451bab3c81cc4a6da0ff7bde81fd3cfe28a182c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/3405074
Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
Commit-Queue: Guenter Roeck <groeck@chromium.org>
Tested-by: Guenter Roeck <groeck@chromium.org>
diff --git a/contrib/findmissing/git_interface.py b/contrib/findmissing/git_interface.py
index 3f1c1f0..beb9830 100755
--- a/contrib/findmissing/git_interface.py
+++ b/contrib/findmissing/git_interface.py
@@ -165,7 +165,7 @@
class commitHandler:
"""Class to control active accesses on a git repository"""
- commit_list = { }
+ commit_list = {}
def __init__(self, kernel, branch=None, full_reset=True):
self.kernel = kernel
@@ -179,7 +179,7 @@
self.full_reset = full_reset
if kernel not in self.commit_list:
- self.commit_list[kernel] = { }
+ self.commit_list[kernel] = {}
current_branch_cmd = ['symbolic-ref', '-q', '--short', 'HEAD']
self.current_branch = self.__git_check_output(current_branch_cmd).rstrip()