[pypy-commit] pypy release-5.x: missing bracket in regex
plan_rich
pypy.commits at gmail.com
Mon May 16 14:42:46 EDT 2016
Author: Richard Plangger <planrichi at gmail.com>
Branch: release-5.x
Changeset: r84487:80ef432a32d9
Date: 2016-05-16 20:39 +0200
http://bitbucket.org/pypy/pypy/changeset/80ef432a32d9/
Log: missing bracket in regex
diff --git a/rpython/translator/platform/arch/s390x.py b/rpython/translator/platform/arch/s390x.py
--- a/rpython/translator/platform/arch/s390x.py
+++ b/rpython/translator/platform/arch/s390x.py
@@ -7,7 +7,7 @@
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
More information about the pypy-commit
mailing list