1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

lvmdbusd: Improve args comparison

This commit is contained in:
Tony Asleson 2017-09-21 09:22:07 -05:00
parent 7a6e438df8
commit bdccab07f9

View File

@ -584,7 +584,7 @@ class MThreadRunner(object):
def _run(self):
try:
if len(self.args):
if self.args:
self.rc = self.f(*self.args)
else:
self.rc = self.f()