summaryrefslogtreecommitdiffstats
path: root/lib/bb/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/utils.py')
-rw-r--r--lib/bb/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/utils.py b/lib/bb/utils.py
index c564d34c7..1bb9e9472 100644
--- a/lib/bb/utils.py
+++ b/lib/bb/utils.py
@@ -611,7 +611,7 @@ def which(path, item, direction = 0):
if direction != 0:
paths.reverse()
- for p in (path or "").split(':'):
+ for p in paths:
next = os.path.join(p, item)
if os.path.exists(next):
return next