1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

lvmdbusd: fix syntax warning

python3.12 reported SyntaxWarning: invalid escape sequence '\/'
This commit is contained in:
Zdenek Kabelac 2023-09-20 12:24:41 +02:00
parent fc2feabef7
commit a8fd6de907

View File

@ -543,7 +543,7 @@ def round_size(size_bytes):
return size_bytes + bs - remainder
_ALLOWABLE_CH = string.ascii_letters + string.digits + '#+-.:=@_\/%'
_ALLOWABLE_CH = string.ascii_letters + string.digits + '#+-.:=@_/%'
_ALLOWABLE_CH_SET = set(_ALLOWABLE_CH)
_ALLOWABLE_VG_LV_CH = string.ascii_letters + string.digits + '.-_+'