[MERGE] forward port branch saas-15 up to 81003c82e0

This commit is contained in:
Christophe Simonis
2018-02-05 13:08:32 +01:00
6 changed files with 58 additions and 12 deletions
+1
View File
@@ -63,6 +63,7 @@ class Shell(Command):
def console(self, local_vars):
if not os.isatty(sys.stdin.fileno()):
local_vars['__name__'] = '__main__'
exec sys.stdin in local_vars
else:
if 'env' not in local_vars: