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

fix_imperium.py 300 Bytes
Newer Older
di68kap's avatar
di68kap committed
1
# TODO: Schreibe Skript um die Anführungsstriche in imperium.mlw hinzu zu fügen
di68kap's avatar
di68kap committed
2
3
4
5
6
7
8
9
10
11

import re

with open('imperium.mlw') as f:
    imperium = f.read()

# m = re.search('\*.*\d\s*(.*\n)', imperium)
for match in re.finditer('\*.*\d[ .]\s*([^Z\n;]*)(?:\n| ZUSATZ)', imperium):
    print(match.group(1))