bareos: master 6c17aecc

Author Committer Branch Timestamp Parent
joergs Bareos Bot master 2024-08-08 13:08 master bdb86e83 Pending
Changeset python-bareos: fix backslash usage in regex

We used "\d" in a Python regex,
which is ambiguous
and is considered invalid in newer Python versions:
Python >= 3.8 will issue a DeprecationWarning,
Python >= 3.12 a SyntaxWarning
and later version will issue a SyntaxError.

Therefore we adapted it to the unambiguous "\\d" sequence.
mod - python-bareos/bareos/bsock/lowlevel.py Diff File