diff options
author | Papoteur <papoteur@mageia.org> | 2023-12-15 16:37:15 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2023-12-15 16:37:15 +0100 |
commit | 123c4edb4999a3c4b2db1c804d72c75e6f9af215 (patch) | |
tree | 7cf771357321d8e23b759f791deb01b93710375f | |
parent | 89c0724baaa2a35919fcaa1d0635041fc31b2bbc (diff) | |
download | mga-advisor-123c4edb4999a3c4b2db1c804d72c75e6f9af215.tar mga-advisor-123c4edb4999a3c4b2db1c804d72c75e6f9af215.tar.gz mga-advisor-123c4edb4999a3c4b2db1c804d72c75e6f9af215.tar.bz2 mga-advisor-123c4edb4999a3c4b2db1c804d72c75e6f9af215.tar.xz mga-advisor-123c4edb4999a3c4b2db1c804d72c75e6f9af215.zip |
Fix analyse of source name, allowing minus, plus and underscore
-rw-r--r-- | mga-advisor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mga-advisor.py b/mga-advisor.py index c3351a8..f8091c3 100644 --- a/mga-advisor.py +++ b/mga-advisor.py @@ -115,7 +115,7 @@ class Widget(QWidget): pkg = pkg.strip() if pkg == "": continue - analyze = re.search(r"(\w+)-\d", pkg) + analyze = re.search(r"([\w\-\+_]+)-\d", pkg) if analyze is not None: pkg = analyze.group(1) sources = self.src_populate(pkg) |