[PATCH] D71171: [git-llvm] Fix Python 3 workaround to print_help
Zhihao Yuan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 8 00:35:18 PST 2019
lichray created this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
"parser" is named "p"
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71171
Files:
llvm/utils/git-svn/git-llvm
Index: llvm/utils/git-svn/git-llvm
===================================================================
--- llvm/utils/git-svn/git-llvm
+++ llvm/utils/git-svn/git-llvm
@@ -317,8 +317,8 @@
func = args.func
except AttributeError:
# No arguments or subcommands were given.
- parser.print_help()
- parser.exit()
+ p.print_help()
+ p.exit()
# Dispatch to the right subcommand
args.func(args)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71171.232727.patch
Type: text/x-patch
Size: 449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191208/ce629930/attachment.bin>
More information about the llvm-commits
mailing list