Spyros Seimenis has proposed merging ~sespiros/ubuntu-qa-tools:uvt-regex-fix into ubuntu-qa-tools:master.
Requested reviews: Ubuntu Bug Control (ubuntu-bugcontrol) For more details, see: https://code.launchpad.net/~sespiros/ubuntu-qa-tools/+git/ubuntu-qa-tools-1/+merge/453905 -- Your team Ubuntu Bug Control is requested to review the proposed merge of ~sespiros/ubuntu-qa-tools:uvt-regex-fix into ubuntu-qa-tools:master.
diff --git a/vm-tools/uvt b/vm-tools/uvt index 2eeada6..d181047 100755 --- a/vm-tools/uvt +++ b/vm-tools/uvt @@ -2961,7 +2961,7 @@ def find_latest_release(release_num, iso_type): matches = [] for line in text: if line.startswith(' ' + release_num): - matches.append(re.search(r'\d+\.\d+(\.\d+)? ', line).group().strip()) + matches.append(re.search(r'(\d+\.\d+(\.\d+)?)\/', line).group(1)) if len(matches) > 0: latest_release = sorted(matches)[-1]
_______________________________________________ Mailing list: https://launchpad.net/~ubuntu-bugcontrol Post to : ubuntu-bugcontrol@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-bugcontrol More help : https://help.launchpad.net/ListHelp