diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2025-02-26 10:01:29 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2025-02-26 10:01:33 +0100 |
commit | 88dfbd91ed22ab4ad98b2b9f0243f9d9faa9b49d (patch) | |
tree | 1f22af7cf0039ac80e032edad8876ae0e348867c | |
parent | 2d32c37a5639d76f34f83d3a929677efa46962a5 (diff) | |
download | tmwa-88dfbd91ed22ab4ad98b2b9f0243f9d9faa9b49d.tar.gz tmwa-88dfbd91ed22ab4ad98b2b9f0243f9d9faa9b49d.tar.bz2 tmwa-88dfbd91ed22ab4ad98b2b9f0243f9d9faa9b49d.tar.xz tmwa-88dfbd91ed22ab4ad98b2b9f0243f9d9faa9b49d.zip |
The deprecated `pipes.quote` was removed in Python 3.13. Fortunately,
the same functionality has been available as `shlex.quote` since Python
3.3.
-rwxr-xr-x | tools/protocol.py | 3 |
1 files changed, 1 insertions, 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 <http://www.gnu.org/licenses/>. import glob -import itertools import os -from pipes import quote +from shlex import quote from posixpath import relpath from weakref import ref as wr |