Skip to content

Commit bc5f723

Browse files
authored
Merge pull request #1168 from mulkieran/cleanup-returns
Do not explicitly return a None result
2 parents 9f46049 + 9bbdff8 commit bc5f723

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/stratis_cli/_actions/_logical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def list_volumes(namespace):
132132
)
133133

134134
uuid_formatter = get_uuid_formatter(namespace.unhyphenated_uuids)
135-
return list_filesystems(
135+
list_filesystems(
136136
uuid_formatter, pool_name=getattr(namespace, "pool_name", None), fs_id=fs_id
137137
)
138138

src/stratis_cli/_actions/_pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def list_pools(namespace):
418418

419419
uuid_formatter = get_uuid_formatter(namespace.unhyphenated_uuids)
420420

421-
return list_pools(uuid_formatter, stopped=stopped, selection=selection)
421+
list_pools(uuid_formatter, stopped=stopped, selection=selection)
422422

423423
@staticmethod
424424
def destroy_pool(namespace):

0 commit comments

Comments
 (0)