From 381e18bf5535b98b583782c38ef1b8d46c647343 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 16 Apr 2017 12:46:36 +0300 Subject: Fix check for whehter we use Python as shell --- yarn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yarn') diff --git a/yarn b/yarn index 3d4865e..d67c115 100755 --- a/yarn +++ b/yarn @@ -515,7 +515,7 @@ class YarnRunner(cliapp.Application): # used. This is a bit of magic that hopefully won't surprise # users too much. - if self.settings['shell'] == 'python': + if 'python' in self.settings['shell']: pythonpath = env.get('PYTHONPATH', None) if pythonpath: pythonpath += ':' + srcdir -- cgit v1.2.1