summaryrefslogtreecommitdiff
path: root/yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-04-16 12:46:36 +0300
committerLars Wirzenius <liw@liw.fi>2017-04-16 12:46:36 +0300
commit381e18bf5535b98b583782c38ef1b8d46c647343 (patch)
treee11c949052caa1ce2f5346cae1ccd58cb7f9e66b /yarn
parent92d0c5e764665e543c6c70cca3e9b49cbbd0b211 (diff)
downloadcmdtest-381e18bf5535b98b583782c38ef1b8d46c647343.tar.gz
Fix check for whehter we use Python as shell
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