aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Plangger <planrichi@gmail.com>2016-05-16 20:39:00 +0200
committerRichard Plangger <planrichi@gmail.com>2016-05-16 20:39:00 +0200
commit352321adea0b45d937e591347ab8718a1cc000ba (patch)
treefb178915dd5418328c1bddbceb9a12e1064d4ba8
parentthe cpu machine number is hex. in cpuinfo (diff)
downloadpypy-release-5.1.2.tar.gz
pypy-release-5.1.2.tar.bz2
pypy-release-5.1.2.zip
missing bracket in regexrelease-5.1.2
-rw-r--r--rpython/translator/platform/arch/s390x.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpython/translator/platform/arch/s390x.py b/rpython/translator/platform/arch/s390x.py
index 1412b05499..8ee2d6cf78 100644
--- a/rpython/translator/platform/arch/s390x.py
+++ b/rpython/translator/platform/arch/s390x.py
@@ -7,7 +7,7 @@ def extract_s390x_cpu_ids(lines):
re_number = re.compile("processor (\d+):")
re_version = re.compile("version = ([0-9A-Fa-f]+)")
re_id = re.compile("identification = ([0-9A-Fa-f]+)")
- re_machine = re.compile("machine = ([0-9A-Fa-f+)")
+ re_machine = re.compile("machine = ([0-9A-Fa-f]+)")
for line in lines:
number = -1
version = None