pollOneParam has no return value (avoid pylint complaint)
Change-Id: Iab75c970e106617ffd4e612d358da491312ca54b
This commit is contained in:
parent
8029443f1b
commit
4bda112bb7
@ -506,7 +506,7 @@ class Module(HasAccessibles):
|
|||||||
def pollOneParam(self, pname):
|
def pollOneParam(self, pname):
|
||||||
"""poll parameter <pname> with proper error handling"""
|
"""poll parameter <pname> with proper error handling"""
|
||||||
try:
|
try:
|
||||||
return getattr(self, 'read_' + pname)()
|
getattr(self, 'read_' + pname)()
|
||||||
except SilentError:
|
except SilentError:
|
||||||
pass
|
pass
|
||||||
except SECoPError as e:
|
except SECoPError as e:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user