Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Commit

Permalink
Improve docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnicola committed Nov 23, 2020
1 parent 078a5b4 commit ad14f79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ospd/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ def target_to_list(target: str) -> Optional[List]:

def target_str_to_list(target_str: str) -> Optional[List]:
"""Parses a targets string into a list of individual targets.
Return a list of host or None.
Return an empty list in case of malformed target
Return a list of hosts, None if supplied target_str is None or
empty, or an empty list in case of malformed target.
"""
new_list = list()

Expand Down

0 comments on commit ad14f79

Please sign in to comment.