pollOneParam has no return value (avoid pylint complaint)

Change-Id: Iab75c970e106617ffd4e612d358da491312ca54b
This commit is contained in:
zolliker 2021-04-27 16:51:37 +02:00
parent 8029443f1b
commit 4bda112bb7

View File

@ -506,7 +506,7 @@ class Module(HasAccessibles):
def pollOneParam(self, pname):
"""poll parameter <pname> with proper error handling"""
try:
return getattr(self, 'read_' + pname)()
getattr(self, 'read_' + pname)()
except SilentError:
pass
except SECoPError as e: