#433: Set env vars right in the aliases

Fix #433
This commit is contained in:
Pablo Santiago Blum de Aguiar
2016-01-16 21:22:44 -02:00
parent bd5cf38271
commit 084b907ac0
3 changed files with 17 additions and 16 deletions
+2
View File
@@ -281,4 +281,6 @@ class CorrectedCommand(object):
if settings.alter_history:
shells.put_to_history(self.script)
# This depends on correct setting of PYTHONIOENCODING by the alias:
logs.debug(u'PYTHONIOENCODING: {}'.format(
os.environ.get('PYTHONIOENCODING', '>-not-set-<')))
print(self.script)