From 88dfbd91ed22ab4ad98b2b9f0243f9d9faa9b49d Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Wed, 26 Feb 2025 10:01:29 +0100 Subject: tools/protocol.py: Avoid usage of deprecated pipes.quote The deprecated `pipes.quote` was removed in Python 3.13. Fortunately, the same functionality has been available as `shlex.quote` since Python 3.3. --- tools/protocol.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/protocol.py b/tools/protocol.py index c4c8657..d278884 100755 --- a/tools/protocol.py +++ b/tools/protocol.py @@ -21,9 +21,8 @@ # along with this program. If not, see . import glob -import itertools import os -from pipes import quote +from shlex import quote from posixpath import relpath from weakref import ref as wr -- cgit v1.2.3-70-g09d2