Commit 1b47ee47 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

avoid raw-f-string

parent c659887d
Pipeline #3788 passed with stage
in 25 seconds
......@@ -266,7 +266,7 @@ class Project(Links, NamedModel, TimeStampedModel):
with as f:
content =
for key, value in CMAKE_FIELDS.items():
search ='set\s*\(\s*project_{key}\s+([^)]+)*\)', content, re.I)
search ='set\s*\(\s*project_%s\s+([^)]+)*\)' % key, content, re.I)
if search:
old = getattr(self, value)
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