##// END OF EJS Templates
Fix single ! raise error....
Matthias Bussonnier -
Show More
@@ -2639,6 +2639,9 b' class InteractiveShell(SingletonConfigurable):'
2639 """
2639 """
2640 cmd = self.var_expand(cmd, depth=1)
2640 cmd = self.var_expand(cmd, depth=1)
2641 # warn if there is an IPython magic alternative.
2641 # warn if there is an IPython magic alternative.
2642 if cmd == "":
2643 main_cmd = ""
2644 else:
2642 main_cmd = cmd.split()[0]
2645 main_cmd = cmd.split()[0]
2643 has_magic_alternatives = ("pip", "conda", "cd")
2646 has_magic_alternatives = ("pip", "conda", "cd")
2644
2647
General Comments 0
You need to be logged in to leave comments. Login now