Skip to content

Commit 01eb278

Browse files
committed
fix coverage
1 parent 66c9b5f commit 01eb278

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: idom/client/module.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ def install(packages: Union[List[str], Tuple[str]]) -> List["Module"]:
2222
def install(
2323
packages: Union[str, List[str], Tuple[str]], ignore_installed: bool = False
2424
) -> Union["Module", List["Module"]]:
25+
return_one = False
2526
if isinstance(packages, str):
2627
packages = [packages]
2728
return_one = True
28-
else:
29-
return_one = False
3029

3130
pkg_names = {get_package_name(pkg) for pkg in packages}
3231

0 commit comments

Comments
 (0)