diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2023-10-20 23:32:02 +0545 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-10-21 00:55:33 +0000 |
commit | 034950b9eebacd6598ea518a0b254845bc806ab6 (patch) | |
tree | b035f894f27e7f37118578a0ebcfca5fcfb7ff59 /repo | |
parent | 0bcffd865616a0a14b7e9f2b03d77da2444d3025 (diff) | |
download | git-repo-034950b9eebacd6598ea518a0b254845bc806ab6.tar.gz |
cleanup: delete redundant "r" open mode
Change-Id: I86ebb8c5a9dc3752e8a25f4b11b64c5be3a6429e
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/390375
Tested-by: Mike Frysinger <vapier@google.com>
Commit-Queue: Mike Frysinger <vapier@google.com>
Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
Diffstat (limited to 'repo')
-rwxr-xr-x | repo | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -622,7 +622,7 @@ def get_gitc_manifest_dir(): | |||
622 | if _gitc_manifest_dir is None: | 622 | if _gitc_manifest_dir is None: |
623 | _gitc_manifest_dir = "" | 623 | _gitc_manifest_dir = "" |
624 | try: | 624 | try: |
625 | with open(GITC_CONFIG_FILE, "r") as gitc_config: | 625 | with open(GITC_CONFIG_FILE) as gitc_config: |
626 | for line in gitc_config: | 626 | for line in gitc_config: |
627 | match = re.match("gitc_dir=(?P<gitc_manifest_dir>.*)", line) | 627 | match = re.match("gitc_dir=(?P<gitc_manifest_dir>.*)", line) |
628 | if match: | 628 | if match: |