[elbe-devel] [PATCH v2 14/15] Change check_call to shellhelper::system for "uboot.py"

dion at linutronix.de dion at linutronix.de
Mon Jun 24 17:39:11 CEST 2019


From: Olivier Dion <dion at linutronix.de>

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 elbepack/debianize/uboot.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elbepack/debianize/uboot.py b/elbepack/debianize/uboot.py
index 767281ce..4f53d254 100644
--- a/elbepack/debianize/uboot.py
+++ b/elbepack/debianize/uboot.py
@@ -8,12 +8,12 @@ import os
 
 from time import sleep
 from shutil import copyfile
-from subprocess import check_call
 
 from npyscreen import TitleText, notify
 
 from elbepack.directories import mako_template_dir
 from elbepack.debianize.base import DebianizeBase, template
+from elbepack.shellhelper import system
 
 from pkg_resources import parse_version as V
 
@@ -91,7 +91,7 @@ class UBoot (DebianizeBase):
             ' -v ' + self.deb['p_version'] + \
             ' --create -M -D ' + self.deb['release'] + \
             ' "generated by elbe debianize"'
-        check_call(cmd, shell=True)
+        system(cmd)
 
         copyfile(os.path.join(self.tmpl_dir, 'u-boot-image.install'),
                  'debian/u-boot-image-' + pkg_name + '.install')
-- 
2.11.0




More information about the elbe-devel mailing list