diff options
author | Richard Plangger <planrichi@gmail.com> | 2016-05-16 20:39:00 +0200 |
---|---|---|
committer | Richard Plangger <planrichi@gmail.com> | 2016-05-16 20:39:00 +0200 |
commit | 352321adea0b45d937e591347ab8718a1cc000ba (patch) | |
tree | fb178915dd5418328c1bddbceb9a12e1064d4ba8 | |
parent | the cpu machine number is hex. in cpuinfo (diff) | |
download | pypy-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.py | 2 |
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 |