Tiny typo

This commit is contained in:
Andrew Scheller
2016-04-14 02:02:40 +01:00
parent 76ba188f85
commit b694ec838a

View File

@@ -512,7 +512,7 @@ def _parse_pi_revision(revision):
# CCCC - Manufacturer (0=Sony, 1=Egoman, 2=Embest)
# PPPP - Processor (0=2835, 1=2836, 2=2837)
# TTTTTTTT - Type (0=A, 1=B, 2=A+, 3=B+, 4=2B, 5=Alpha (??), 6=CM, 8=3B, 9=Zero)
# RRR - Revision (0, 1, or 2)
# RRRR - Revision (0, 1, or 2)
i = int(revision, base=16)
if not (i & 0x800000):
raise ValueError('cannot parse "%s"; this is not a new-style revision' % revision)