##// END OF EJS Templates
BUG: Don't index args unless we know we can...
farisachugthai -
Show More
@@ -82,8 +82,9 b' class PackagingMagics(Magics):'
82
82
83 conda = _get_conda_executable()
83 conda = _get_conda_executable()
84 args = shlex.split(line)
84 args = shlex.split(line)
85 command = args[0]
85 command = args[0] if len(args) > 0 else ""
86 args = args[1:]
86 args = args[1:] if len(args) > 1 else [""]
87
87 extra_args = []
88 extra_args = []
88
89
89 # When the subprocess does not allow us to respond "yes" during the installation,
90 # When the subprocess does not allow us to respond "yes" during the installation,
General Comments 0
You need to be logged in to leave comments. Login now