]> git.ipfire.org Git - ipfire.org.git/commitdiff
fireinfo: Fix regex for AMD APUs
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 19 Mar 2015 15:15:30 +0000 (16:15 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 19 Mar 2015 15:15:30 +0000 (16:15 +0100)
webapp/backend/fireinfo.py

index 0773c525234966a721f607cdd0b68f42433c562b..4aab91e71e4ae9950da8f026127727d73c31a1c4 100644 (file)
@@ -33,7 +33,7 @@ CPU_VENDORS = {
 CPU_STRINGS = (
        ### AMD ###
        # APU
-       (r"AMD (\w+) APU with Radeon(tm) HD Graphics", r"AMD \1 APU"),
+       (r"AMD ([\w\-]+) APU with Radeon\(tm\) HD Graphics", r"AMD \1 APU"),
        # Athlon
        (r"AMD Athlon.* II X2 ([a-z0-9]+).*", r"AMD Athlon X2 \1"),
        (r"AMD Athlon\(tm\) 64 Processor (\w+)", r"AMD Athlon64 \1"),