summaryrefslogtreecommitdiffstats
path: root/pym/portage/process.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/process.py')
-rw-r--r--pym/portage/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/process.py b/pym/portage/process.py
index 7c0fb342f..6f449c3d6 100644
--- a/pym/portage/process.py
+++ b/pym/portage/process.py
@@ -175,7 +175,7 @@ def spawn(mycommand, env={}, opt_name=None, fd_pipes=None, returnpid=False,
"""
# mycommand is either a str or a list
- if isinstance(mycommand, str):
+ if isinstance(mycommand, basestring):
mycommand = mycommand.split()
# If an absolute path to an executable file isn't given