@@ -218,7 +218,7 @@ def __init__(self, module):
218218
219219 self .desired = {}
220220
221- ( self .desired ["parent" ], self .desired ["name" ]) = self ._normalize_path (
221+ self .desired ["parent" ], self .desired ["name" ] = self ._normalize_path (
222222 self .params .get ("path" )
223223 )
224224
@@ -303,7 +303,7 @@ def _detect_changes(self):
303303
304304 if merged_attributes != current_attributes :
305305 try :
306- ( c_m , m_c ) = recursive_diff (current_attributes , merged_attributes )
306+ c_m , m_c = recursive_diff (current_attributes , merged_attributes )
307307 changes .append ("update attributes: %s" % json .dumps (m_c ))
308308 except Exception as e :
309309 changes .append ("update attributes" )
@@ -332,20 +332,20 @@ def _detect_changes(self):
332332 msg = "ERROR: The parameter remove_attributes of dict type is not supported for the paramter extended_functionality: false!" ,
333333 )
334334
335- ( tmp_remove , tmp_rest ) = (current_attributes , {})
335+ tmp_remove , tmp_rest = (current_attributes , {})
336336 if current_attributes != tmp_remove_attributes :
337337 try :
338- ( c_m , m_c ) = recursive_diff (
338+ c_m , m_c = recursive_diff (
339339 current_attributes , tmp_remove_attributes
340340 )
341341
342342 if c_m :
343343 # if nothing to remove
344344 if current_attributes == c_m :
345- ( tmp_remove , tmp_rest ) = ({}, current_attributes )
345+ tmp_remove , tmp_rest = ({}, current_attributes )
346346 else :
347- ( c_c_m , c_m_c ) = recursive_diff (current_attributes , c_m )
348- ( tmp_remove , tmp_rest ) = (c_c_m , c_m )
347+ c_c_m , c_m_c = recursive_diff (current_attributes , c_m )
348+ tmp_remove , tmp_rest = (c_c_m , c_m )
349349 except Exception as e :
350350 self .module .fail_json (
351351 msg = "ERROR: incompatible parameter: remove_attributes!" ,
0 commit comments