Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit beafae32 authored by Eckhart Arnold's avatar Eckhart Arnold
Browse files

- sever.py: bug fix

parent 99792e58
......@@ -202,7 +202,7 @@ class Server:
if isinstance(result, str):
writer.write(result.encode())
else:
json.dump(writer, result)
writer.write(json.dumps(result).encode())
else:
# JSON RPC
......
......@@ -34,8 +34,8 @@ from DHParser.server import Server
scriptdir = os.path.dirname(os.path.realpath(__file__))
def compiler_dummy(src: str, log_dir: str) -> Tuple[str, str]:
return (src, log_dir)
def compiler_dummy(src: str, log_dir: str='') -> Tuple[str, str]:
return src
class TestServer:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment