diff options
| author | Mike Frysinger <vapier@google.com> | 2026-10-23 17:13:59 -0400 |
|---|---|---|
| committer | gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2026-10-23 17:00:18 -0700 |
| commit | f4ce9572d1f9e412a5685297d2806ce410e4d4a0 (patch) | |
| tree | cb85b68a49a5ce84832ee771230b3f9be5c3434b /release/update_manpages.py | |
| parent | cc1f41d782b39d852dbd9c738ff01eb8814d9e86 (diff) | |
| download | git-repo-main.tar.gz git-repo-main.zip | |
Align with Google style guides and `import git_command` as a module
rather than import symbols out of it.
Change-Id: If80d95203e240dd6591e465ef75500c72401d2bf
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/648503
Commit-Queue: Mike Frysinger <vapier@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'release/update_manpages.py')
| -rw-r--r-- | release/update_manpages.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/update_manpages.py b/release/update_manpages.py index 1abc94796..3cf2406fa 100644 --- a/release/update_manpages.py +++ b/release/update_manpages.py @@ -39,7 +39,7 @@ MANDIR = TOPDIR.joinpath("man") # Load repo local modules. sys.path.insert(0, str(TOPDIR)) -from git_command import RepoSourceVersion +import git_command import subcmds @@ -82,7 +82,7 @@ def main(argv: List[str]) -> int: del subcmds.all_commands["branch"] (MANDIR / "repo-branch.1").write_text(".so man1/repo-branches.1") - version = RepoSourceVersion() + version = git_command.RepoSourceVersion() cmdlist = [ [ *help2man, |
