Merge branch '5.7' into CURA-11734-add-a-learn-more-buttn-for-ucp

This commit is contained in:
Erwan MATHIEU 2024-03-15 13:10:16 +01:00 committed by GitHub
commit 1344ee4bd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7259 changed files with 7263 additions and 7258 deletions

View file

@ -68,6 +68,11 @@ class VersionUpgrade56to57(VersionUpgrade):
if removed in parser["values"]:
del parser["values"][removed]
if "brim_outside_only" in parser["values"]:
parser["values"]["brim_location"] = "outside" if parser["values"][
"brim_outside_only"] == "True" else "everywhere"
del parser["values"]["brim_outside_only"]
result = io.StringIO()
parser.write(result)
return [filename], [result.getvalue()]