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:
|
:return:
|
||||||
:rtype: bool
|
:rtype: bool
|
||||||
"""
|
"""
|
||||||
if parameter in self.__parameter.keys():
|
return parameter in self.__parameter.keys()
|
||||||
return True
|
|
||||||
return False
|
|
||||||
|
|
||||||
def get(self, *args):
|
def get(self, *args):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user