mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Avoid breakage with Python 3.13. (#354)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user