From b41838ff431808767e501ed92059a9ff071b701e Mon Sep 17 00:00:00 2001 From: matthew Date: Fri, 3 Dec 2021 07:30:10 -0800 Subject: [PATCH] dut_profile: Fix whitespace Signed-off-by: matthew --- py-json/dut_profile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py-json/dut_profile.py b/py-json/dut_profile.py index 141ff953..38a3fb84 100644 --- a/py-json/dut_profile.py +++ b/py-json/dut_profile.py @@ -50,7 +50,7 @@ class DUTProfile(LFCliBase): self.append = [] def set_param(self, name, value): - if (name in self.__dict__): + if name in self.__dict__: self.__dict__[name] = value def create(self, name=None, param_=None, flags=None, flags_mask=None, notes=None): @@ -63,7 +63,7 @@ class DUTProfile(LFCliBase): raise ValueError("cannot create/update DUT record lacking a name") for param in add_dut.dut_params: - if (param.name in self.__dict__): + if param.name in self.__dict__: if (self.__dict__[param.name] is not None) \ and (self.__dict__[param.name] != "NA"): data[param.name] = self.__dict__[param.name]