From 90c08075c38d93c0a53373f05ef4b5f2424953cc Mon Sep 17 00:00:00 2001 From: jsuchan-reef <135112713+jsuchan-reef@users.noreply.github.com> Date: Tue, 15 Aug 2023 15:55:56 +0200 Subject: [PATCH] Update b2sdk/utils/wildcards.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Paweł Polewicz --- b2sdk/utils/wildcards.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/b2sdk/utils/wildcards.py b/b2sdk/utils/wildcards.py index 27695b910..d029e506a 100644 --- a/b2sdk/utils/wildcards.py +++ b/b2sdk/utils/wildcards.py @@ -27,7 +27,8 @@ def _find_unescaped_char( folder_to_list: str, wildcard_character: str, offset: int = 0 ) -> int | None: """Find the first occurrence of a character in a string, ignoring escaped characters. - Raise ValueError if no unescaped character is found. + + :raises ValueError: no unescaped character is found """ max_index = len(folder_to_list) while offset < max_index: