Remove needless bool checking
in Operator returns a bool that can directly be returned.
This commit is contained in:
parent
6936cfcfa6
commit
531d33946f
@ -127,9 +127,7 @@ class PylotParameter(object):
|
||||
:return:
|
||||
:rtype: bool
|
||||
"""
|
||||
if parameter in self.__parameter.keys():
|
||||
return True
|
||||
return False
|
||||
return parameter in self.__parameter.keys()
|
||||
|
||||
def get(self, *args):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user