diff mbox series

[isar-cip-core,v3,6/6] format: classes/swupdate fix parenthesis

Message ID 20240305161128.2777211-7-Quirin.Gylstorff@siemens.com (mailing list archive)
State Accepted
Headers show
Series Make swupdate signing more robust | expand

Commit Message

Gylstorff Quirin March 5, 2024, 4:10 p.m. UTC
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
 classes/swupdate.bbclass | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/classes/swupdate.bbclass b/classes/swupdate.bbclass
index 3bd0cbd..01295b0 100644
--- a/classes/swupdate.bbclass
+++ b/classes/swupdate.bbclass
@@ -63,7 +63,7 @@  IMAGE_TEMPLATE_VARS:swu = " \
 # TARGET_IMAGE_UUID needs to be generated before completing the template
 addtask do_transform_template after do_generate_image_uuid
 
-python do_extend_sw_description(){
+python do_extend_sw_description() {
     cmds = d.getVar("SWU_EXTEND_SW_DESCRIPTION")
     if cmds is None or not cmds.strip():
         return
@@ -74,7 +74,7 @@  python do_extend_sw_description(){
 do_transform_template[prefuncs] += "do_extend_sw_description"
 
 SWU_EXTEND_SW_DESCRIPTION += "add_swu_hw_compat"
-python add_swu_hw_compat(){
+python add_swu_hw_compat() {
     # create SWU_HW_COMPAT_NODE based on list of supported hw
     hw_compat = d.getVar('SWU_HW_COMPAT')
     if hw_compat:
@@ -86,7 +86,7 @@  python add_swu_hw_compat(){
 }
 
 SWU_EXTEND_SW_DESCRIPTION += "add_swu_compression"
-python add_swu_compression(){
+python add_swu_compression() {
     # create SWU_COMPRESSION_NODE node if compression is enabled
     calgo = d.getVar('SWU_COMPRESSION_TYPE')
     if calgo:
@@ -110,7 +110,7 @@  def add_scripts_to_src_uri(d):
 SRC_URI += "${@add_scripts_to_src_uri(d)}"
 
 SWU_EXTEND_SW_DESCRIPTION += "add_scripts_node"
-python add_scripts_node(){
+python add_scripts_node() {
     swu_scripts = d.getVar('SWU_SCRIPTS')
     if not swu_scripts:
         return