[bugfix] has_keys not a method of dict in python3
This commit is contained in:
parent
17e6169cee
commit
7ca6509611
@ -107,7 +107,7 @@ class PylotParameter(object):
|
|||||||
yield key, value
|
yield key, value
|
||||||
|
|
||||||
def hasParam(self, parameter):
|
def hasParam(self, parameter):
|
||||||
if self.__parameter.has_key(parameter):
|
if parameter in self.__parameter.keys():
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user