1
0
Fork 0

tweak stdlib imports to follow Google style guide

Google Python style guide says to import modules.
Clean up all our stdlib imports.  Leave the repo ones alone
for now as that's a much bigger shave.

Change-Id: Ida42fc2ae78b86e6b7a6cbc98f94ca04b295f8cc
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/383714
Reviewed-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Mike Frysinger <vapier@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
This commit is contained in:
Mike Frysinger 2023-08-21 21:26:51 -04:00 committed by LUCI
parent 16109a66b7
commit 06ddc8c50a
8 changed files with 24 additions and 20 deletions

View file

@ -19,7 +19,7 @@ import io
import json
import multiprocessing
import netrc
from optparse import SUPPRESS_HELP
import optparse
import os
import socket
import sys
@ -481,7 +481,7 @@ later is required to fix a server side protocol bug.
"--repo-upgraded",
dest="repo_upgraded",
action="store_true",
help=SUPPRESS_HELP,
help=optparse.SUPPRESS_HELP,
)
def _GetBranch(self, manifest_project):