Avoid breakage with Python 3.13. (#354)

This commit is contained in:
Felix Fontein
2022-05-18 22:22:50 +02:00
committed by GitHub
parent a299dfa49d
commit fb55b1d780
2 changed files with 2 additions and 9 deletions
-9
View File
@@ -1188,7 +1188,6 @@ status:
'''
import os
import pipes
import re
import shlex
import traceback
@@ -1228,14 +1227,6 @@ except Exception:
pass
def shell_join(parts):
if getattr(shlex, 'quote', None):
quote = shlex.quote
else:
quote = pipes.quote
return ' '.join([quote(part) for part in parts])
REQUIRES_CONVERSION_TO_BYTES = [
'kernel_memory',
'memory',