File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1717import contextvars
1818import os
1919import sys
20- from subprocess import CalledProcessError
2120import threading
2221import typing
2322import warnings
2423from pathlib import Path
24+ from subprocess import CalledProcessError
2525
2626from IPython .core import page
2727from IPython .core .autocall import ZMQExitAutocall
@@ -790,7 +790,7 @@ def system_piped(self, cmd):
790790 exit_code = system (self .var_expand (cmd , depth = 1 ))
791791 self .user_ns ["_exit_code" ] = exit_code
792792
793- if getattr (self , ' system_raise_on_error' , False ) and exit_code != 0 :
793+ if getattr (self , " system_raise_on_error" , False ) and exit_code != 0 :
794794 raise CalledProcessError (exit_code , cmd )
795795
796796 # Ensure new system_piped implementation is used
You can’t perform that action at this time.
0 commit comments