Skip to content

Commit

Permalink
Support lowercase unit levels
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Smith committed Oct 24, 2014
1 parent 32c5c12 commit 68a4a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class UnitsAndLevel(object):
# Split a <units>L<level> reading
splitLRe = re.compile(r'^(?P<units>\d+)L(?P<level>-\d+)$')
# Split a <units><level> reading
splitAtRe = re.compile(r'^(?P<units>\d+)(?P<level>[\?LMH])$')
splitAtRe = re.compile(r'^(?P<units>\d+)(?P<level>[\?LMH])$', re.IGNORECASE)

def __init__(self, category, reading):
if reading in (None, "unk", "-1L-1", "-1L0", "0L-1"):
Expand Down

0 comments on commit 68a4a8e

Please sign in to comment.