From 034950b9eebacd6598ea518a0b254845bc806ab6 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 20 Oct 2023 23:32:02 +0545 Subject: cleanup: delete redundant "r" open mode Change-Id: I86ebb8c5a9dc3752e8a25f4b11b64c5be3a6429e Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/390375 Tested-by: Mike Frysinger Commit-Queue: Mike Frysinger Reviewed-by: Aravind Vasudevan --- repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repo') diff --git a/repo b/repo index 36a2e0ea..6b39f227 100755 --- a/repo +++ b/repo @@ -622,7 +622,7 @@ def get_gitc_manifest_dir(): if _gitc_manifest_dir is None: _gitc_manifest_dir = "" try: - with open(GITC_CONFIG_FILE, "r") as gitc_config: + with open(GITC_CONFIG_FILE) as gitc_config: for line in gitc_config: match = re.match("gitc_dir=(?P.*)", line) if match: -- cgit v1.2.3-54-g00ecf