Fix `git llvm` script when no arguments are supplied on Python 3
authorMehdi Amini <joker.eph@gmail.com>
Tue, 30 Jul 2019 15:25:11 +0000 (15:25 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 30 Jul 2019 15:25:11 +0000 (15:25 +0000)
commit7492b1ea07b0d74f3c5dbb38187477aab21774e8
treedc147d924f5828991e0ce161490b77beab799333
parent54bb5413e6526e7bf0fb75cf9d1273cf80ef86e1
Fix `git llvm` script when no arguments are supplied on Python 3

Instead of displaying a help message, it was issuing an error message:

  AttributeError: 'Namespace' object has no attribute 'func'

https://bugs.python.org/issue16308 has more information on the bug.

llvm-svn: 367320
llvm/utils/git-svn/git-llvm