aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/distrib/python/docgen.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/distrib/python/docgen.py')
-rwxr-xr-xtools/distrib/python/docgen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/distrib/python/docgen.py b/tools/distrib/python/docgen.py
index d76792c56f..2acd3cc12f 100755
--- a/tools/distrib/python/docgen.py
+++ b/tools/distrib/python/docgen.py
@@ -81,7 +81,7 @@ if args.submit:
assert args.doc_branch
github_user = args.gh_user
github_repository_owner = (
- args.gh_repo_owner if args.gh_repo_owner else gh_user)
+ args.gh_repo_owner if args.gh_repo_owner else args.gh_user)
# Create a temporary directory out of tree, checkout gh-pages from the
# specified repository, edit it, and push it. It's up to the user to then go
# onto GitHub and make a PR against grpc/grpc:gh-pages.