From 585b1f4d7cbf4221b0c98ce3f79fbb0c829f8a79 Mon Sep 17 00:00:00 2001 From: Oleg Stepanov Date: Tue, 26 Jan 2021 10:23:24 +0300 Subject: [PATCH] Backport scraper fix from 1.10.0: use universal subversion extractor --- source/threads/scraper.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/source/threads/scraper.py b/source/threads/scraper.py index 1e26140e..cfe1d81b 100644 --- a/source/threads/scraper.py +++ b/source/threads/scraper.py @@ -94,13 +94,7 @@ def new_blender_build(self, tag, url, branch_type): if match: build_hash = match[-1].replace('-', '') - # Old buidls style naming - match = re.search(r'-\d\.\w+-', stem) - - if match is None: - # New builds style naming - match = re.search(r'-\d+\.\d+\.\d+-', stem) - + match = re.search(r'-\d\.[a-zA-Z0-9.]+-', stem) subversion = match.group(0).replace('-', '') if branch_type == 'experimental':