diff --git a/testlib/dbus.py b/testlib/dbus.py index e4dc055..1104f4e 100644 --- a/testlib/dbus.py +++ b/testlib/dbus.py @@ -487,11 +487,9 @@ def fs_create(pool_path, fs_name, *, fs_size=None, fs_sizelimit=None): ) file_spec = ( - (fs_name, (False, ""), (False, "")) - if fs_size is None - else (fs_name, (True, fs_size), (False, "")) - if fs_sizelimit is None - else (fs_name, (True, fs_size), (True, fs_sizelimit)) + fs_name, + (False, "") if fs_size is None else (True, fs_size), + (False, "") if fs_sizelimit is None else (True, fs_sizelimit), ) return iface.CreateFilesystems([file_spec], timeout=StratisDbus._TIMEOUT)