Skip to content
Snippets Groups Projects
Commit a55edc1f authored by Antoine Pietri's avatar Antoine Pietri
Browse files

Remove shlex.join() call (3.8 only)

parent 94418d49
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,6 @@ A simple tool to start the swh-graph GRPC server in Java.
"""
import logging
import shlex
import subprocess
import aiohttp.test_utils
......@@ -32,7 +31,9 @@ def spawn_java_rpc_server(config, port=None):
str(config["graph"]["path"]),
]
print(cmd)
logging.info("Starting RPC server: %s", shlex.join(cmd))
# XXX: shlex.join() is in 3.8
# logging.info("Starting RPC server: %s", shlex.join(cmd))
logging.info("Starting RPC server: %s", str(cmd))
server = subprocess.Popen(cmd)
return server, port
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment