fireinfo: Remove x86_64 from release string
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Oct 2015 20:20:23 +0000 (22:20 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Oct 2015 20:20:23 +0000 (22:20 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
webapp/backend/fireinfo.py

index fa819bf..1f87680 100644 (file)
@@ -1410,7 +1410,7 @@ class ProfileParser(Object):
                # Remove the arch bit
                if release:
                        r = [e for e in release.split() if e]
-                       for s in ("(i586)", "(armv5tel)"):
+                       for s in ("(x86_64)", "(i586)", "(armv5tel)"):
                                try:
                                        r.remove(s)
                                        break