summaryrefslogtreecommitdiff
path: root/tox/venv.py
diff options
context:
space:
mode:
Diffstat (limited to 'tox/venv.py')
-rw-r--r--tox/venv.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tox/venv.py b/tox/venv.py
index 35a50e5..fb6ed77 100644
--- a/tox/venv.py
+++ b/tox/venv.py
@@ -79,11 +79,11 @@ class VirtualEnv(object):
return "<VirtualEnv at %r>" % (self.path)
def getcommandpath(self, name, venv=True, cwd=None):
- """ return absolute path (str or localpath) for specified
- command name. If it's a localpath we will rewrite it as
- as a relative path. If venv is True we will check if the
- command is coming from the venv or is whitelisted to come
- from external. """
+ """ Return absolute path (str or localpath) for specified command name.
+ - If it's a local path we will rewrite it as as a relative path.
+ - If venv is True we will check if the command is coming from the venv
+ or is whitelisted to come from external.
+ """
name = str(name)
if os.path.isabs(name):
return name