BUGFIX: another missing item from the merge with mickey's stuff.
authorChris Larson <clarson@kergoth.com>
Thu, 1 Apr 2004 21:50:29 +0000 (21:50 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 1 Apr 2004 21:50:29 +0000 (21:50 +0000)
bin/oe/__init__.py

index 373b7e5..8b7e277 100644 (file)
@@ -339,7 +339,7 @@ def encodeurl(decoded):
 
 #######################################################################
 
-def which(path, item, direction = 1):
+def which(path, item, direction = 0):
     """Useful function for locating a file in a PATH"""
     found = ""
     for p in (path or "").split(':'):