Skip to content

Commit

Permalink
use None as default for split
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Aug 8, 2024
1 parent 54c7ef1 commit 3ebc5e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rattler_build_conda_compat/jinja/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ def _bool(value: str) -> bool:
return bool(value)


def _split(s: str, sep: str = " ") -> list[str]:
def _split(s: str, sep: str | None = None) -> list[str]:
"""Filter that split a string by a separator"""
return s.split(sep)

0 comments on commit 3ebc5e5

Please sign in to comment.