1) Missing import to shlex.
2) If the import is added it fails with the following error:
Traceback (most recent call last):
File "/home/local/TSI/jhallmann/.local/bin/ibt", line 9, in
load_entry_point('ibt==0.2', 'console_scripts', 'ibt')()
File "/home/local/TSI/jhallmann/dev/kubeworld/ibt/ibt/main.py", line 128, in _main
args.handler(ctx, project, args)
File "/home/local/TSI/jhallmann/dev/kubeworld/ibt/ibt/main.py", line 125, in
_handle_alias(parser, alias, ctx, args))
File "/home/local/TSI/jhallmann/dev/kubeworld/ibt/ibt/main.py", line 63, in _handle_alias
args = parser.parse_args(shlex.split(alias))
File "/usr/lib64/python2.7/shlex.py", line 279, in split
return list(lex)
File "/usr/lib64/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/lib64/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/lib64/python2.7/shlex.py", line 124, in read_token
nextchar = self.instream.read(1)
AttributeError: 'Namespace' object has no attribute 'read'
ibt is not working
1) Missing import to shlex. 2) If the import is added it fails with the following error:
Traceback (most recent call last): File "/home/local/TSI/jhallmann/.local/bin/ibt", line 9, in
load_entry_point('ibt==0.2', 'console_scripts', 'ibt')()
File "/home/local/TSI/jhallmann/dev/kubeworld/ibt/ibt/main.py", line 128, in _main
args.handler(ctx, project, args)
File "/home/local/TSI/jhallmann/dev/kubeworld/ibt/ibt/main.py", line 125, in
_handle_alias(parser, alias, ctx, args))
File "/home/local/TSI/jhallmann/dev/kubeworld/ibt/ibt/main.py", line 63, in _handle_alias
args = parser.parse_args(shlex.split(alias))
File "/usr/lib64/python2.7/shlex.py", line 279, in split
return list(lex)
File "/usr/lib64/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/lib64/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/lib64/python2.7/shlex.py", line 124, in read_token
nextchar = self.instream.read(1)
AttributeError: 'Namespace' object has no attribute 'read'