summaryrefslogtreecommitdiff
path: root/yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarn')
-rwxr-xr-xyarn2
1 files changed, 1 insertions, 1 deletions
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