[OE-core] [PATCH 06/11] devtool: lib: wrap long lines in code

Markus Lehtonen markus.lehtonen at linux.intel.com
Mon May 11 13:17:06 UTC 2015


Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
---
 scripts/lib/devtool/__init__.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py
index 8866512..676bc52 100644
--- a/scripts/lib/devtool/__init__.py
+++ b/scripts/lib/devtool/__init__.py
@@ -36,14 +36,16 @@ def exec_build_env_command(init_path, builddir, cmd, watch=False, **options):
         # the executable to bash to correctly set things up
         if not 'executable' in options:
             options['executable'] = 'bash'
-        logger.debug('Executing command: "%s" using init path %s' % (cmd, init_path))
+        logger.debug('Executing command: "%s" using init path %s' %
+                     (cmd, init_path))
         init_prefix = '. %s %s > /dev/null && ' % (init_path, builddir)
     else:
         logger.debug('Executing command "%s"' % cmd)
         init_prefix = ''
     if watch:
         if sys.stdout.isatty():
-            # Fool bitbake into thinking it's outputting to a terminal (because it is, indirectly)
+            # Fool bitbake into thinking it's outputting to a terminal
+            # (because it is, indirectly)
             cmd = 'script -q -c "%s" /dev/null' % cmd
         return exec_watch('%s%s' % (init_prefix, cmd), **options)
     else:
@@ -74,7 +76,8 @@ def setup_tinfoil():
     import scriptpath
     bitbakepath = scriptpath.add_bitbake_lib_path()
     if not bitbakepath:
-        logger.error("Unable to find bitbake by searching parent directory of this script or PATH")
+        logger.error("Unable to find bitbake by searching parent directory of "
+                     "this script or PATH")
         sys.exit(1)
 
     import bb.tinfoil
-- 
2.1.4




More information about the Openembedded-core mailing list