From c60f089e5bc004c2f8cb7c72fe84c9df650eccef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@ericsson.com> Date: Mon, 12 Aug 2024 22:33:45 +0200 Subject: [PATCH] build fix --- snakehouse/satella.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snakehouse/satella.py b/snakehouse/satella.py index 1b2909b..57cbf47 100644 --- a/snakehouse/satella.py +++ b/snakehouse/satella.py @@ -13,7 +13,7 @@ def _has_separator(path: str) -> bool: if len(path) == 3: if path.endswith(':/') or path.endswith(':\\'): return False - return any(map(lambda x: x in path, SEPARATORS)) + return any(map(lambda x: x in path, os.path.sep)) def _cond_join(prefix: tp.Optional[str], filename: str) -> str: """or a conditional os.path.join""" -- GitLab