1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Fix Python3.12 string syntax
Bug-Debian: https://bugs.debian.org/1087096
Author: Andreas Tille <tille@debian.org>
Last-Update: 2024-06-12
--- a/ngs/ngs-python/ngs/LibManager.py
+++ b/ngs/ngs-python/ngs/LibManager.py
@@ -120,7 +120,7 @@ def version_tuple(version_str):
assert isinstance(version_str, str) or isinstance(version_str, unicode)
import re
- arr = re.split('\.\s*|\-\s*|\s+', version_str)
+ arr = re.split(r'\.\s*|\-\s*|\s+', version_str)
arr_typed = []
for x in arr:
|