Project

General

Profile

Actions

Bug #8054

closed

git-pbchk error is broken when git is not installed

Added by Dillon Amburgey over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Low
Category:
tools - gate/build tools
Start date:
2017-04-11
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

~/smartos-live/projects/illumos]# git-pbchk
Traceback (most recent call last):
File "/root/smartos-live/projects/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/git-pbchk", line 389, in <module>
main(os.path.basename(sys.argv[0]), sys.argv[1:])
File "/root/smartos-live/projects/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/git-pbchk", line 376, in main
parent_branch = git_parent_branch(git_branch())
File "/root/smartos-live/projects/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/git-pbchk", line 102, in git_branch
p = git('branch')
File "/root/smartos-live/projects/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/git-pbchk", line 76, in git
raise GitError("could not execute %s: %s\n" (command, e))
TypeError: 'str' object is not callable

Actions

Also available in: Atom PDF