diff options
Diffstat (limited to 'scripts/lib/devtool/__init__.py')
-rw-r--r-- | scripts/lib/devtool/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py index 506d95b0f7..6f5bb8dba0 100644 --- a/scripts/lib/devtool/__init__.py +++ b/scripts/lib/devtool/__init__.py | |||
@@ -59,7 +59,7 @@ def exec_build_env_command(init_path, builddir, cmd, watch=False, **options): | |||
59 | def exec_watch(cmd, **options): | 59 | def exec_watch(cmd, **options): |
60 | """Run program with stdout shown on sys.stdout""" | 60 | """Run program with stdout shown on sys.stdout""" |
61 | import bb | 61 | import bb |
62 | if isinstance(cmd, basestring) and not "shell" in options: | 62 | if isinstance(cmd, str) and not "shell" in options: |
63 | options["shell"] = True | 63 | options["shell"] = True |
64 | 64 | ||
65 | process = subprocess.Popen( | 65 | process = subprocess.Popen( |