##// END OF EJS Templates
Merge pull request #13214 from Kojoley/ipexec-pycharm-qol-fix...
Matthias Bussonnier -
r26939:32ffaeff merge
parent child
Show More
@@ -205,6 +205,8 def ipexec(fname, options=None, commands=()):
205 # should we keep suppressing warnings here, even after removing shims?
205 # should we keep suppressing warnings here, even after removing shims?
206 env['PYTHONWARNINGS'] = 'ignore'
206 env['PYTHONWARNINGS'] = 'ignore'
207 # env.pop('PYTHONWARNINGS', None) # Avoid extraneous warnings appearing on stderr
207 # env.pop('PYTHONWARNINGS', None) # Avoid extraneous warnings appearing on stderr
208 # Prevent coloring under PyCharm ("\x1b[0m" at the end of the stdout)
209 env.pop("PYCHARM_HOSTED", None)
208 for k, v in env.items():
210 for k, v in env.items():
209 # Debug a bizarre failure we've seen on Windows:
211 # Debug a bizarre failure we've seen on Windows:
210 # TypeError: environment can only contain strings
212 # TypeError: environment can only contain strings
General Comments 0
You need to be logged in to leave comments. Login now