Merge pull request #2623 from xonsh/p2pc

Don't print in color
This commit is contained in:
Gil Forsyth 2018-04-23 20:07:32 -04:00 committed by GitHub
commit bcee4fe80c
Failed to generate hash of commit

View file

@ -253,9 +253,9 @@ def default_xonshrc(env):
# Check if old config file exists and issue warning
old_config_filename = xonshconfig(env)
if os.path.isfile(old_config_filename):
print_color('{RED}WARNING!{NO_COLOR} old style configuration (' +
old_config_filename + ') is not longer supported. ' +
'Please migrate to xonshrc.')
print('WARNING! old style configuration (' +
old_config_filename + ') is no longer supported. ' +
'Please migrate to xonshrc.')
return dxrc