From 5aa560791394e7d03d08d780e4cb1194a0ff6222 Mon Sep 17 00:00:00 2001 From: "P. Christeas" Date: Thu, 23 Jun 2011 12:03:12 +0300 Subject: [PATCH] tools.which: docstring fix bzr revid: xrg@linux.gr-20110623090312-8kon0hgauxbrpace --- openerp/tools/which.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openerp/tools/which.py b/openerp/tools/which.py index 66b264bddec..548b836247c 100755 --- a/openerp/tools/which.py +++ b/openerp/tools/which.py @@ -19,8 +19,8 @@ Return a generator which yields full paths in which the *file* name exists in a directory that is part of the file name, or on *path*, and has the given *mode*. - By default, *mode* matches an inclusive OR of os.F_OK and os.X_OK - - an existing executable file. + By default, *mode* matches an inclusive OR of os.F_OK and os.X_OK - an + existing executable file. The *path* is, by default, the ``PATH`` variable on the platform, or the string/iterable passed in as *path*. In the event that a ``PATH`` variable is not found, :const:`os.defpath` is used.