Commit 02d2c0d9 authored by Nicolas Wavrant's avatar Nicolas Wavrant

fixup

parent 2dab343e
...@@ -22,7 +22,7 @@ md5sum = e12255a8c946b3eb8c6373fff481339f ...@@ -22,7 +22,7 @@ md5sum = e12255a8c946b3eb8c6373fff481339f
[template-runner-import-script] [template-runner-import-script]
filename = template/runner-import.sh.jinja2 filename = template/runner-import.sh.jinja2
md5sum = 3a0bca6a1091d654bae81b015cde3eb8 md5sum = e840ad7a567e138cbbfde98ae1ddb0c3
[instance-runner-import] [instance-runner-import]
filename = instance-runner-import.cfg.in filename = instance-runner-import.cfg.in
......
...@@ -155,7 +155,7 @@ if 1: ...@@ -155,7 +155,7 @@ if 1:
# We want to replace the last occurence only # We want to replace the last occurence only
old_software_release, partition = sys.argv[1], sys.argv[2] old_software_release, partition = sys.argv[1], sys.argv[2]
for match in re.finditer("(slappart|test0-)[0-9][0-9]", old_software_release): for match in re.finditer("(slappart|test0-)[0-9][0-9]*", old_software_release):
start, end = match.start(), match.end() start, end = match.start(), match.end()
print old_software_release[:start] + partition + old_software_release[end:] print old_software_release[:start] + partition + old_software_release[end:]
......
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