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:
parent
7a6e438df8
commit
bdccab07f9
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user