commit | d9871b14df27308d2ca159bf7f4f516ec54e2d98 | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Thu Feb 28 12:42:22 2019 +0100 |
committer | Adrian Roos <roosa@google.com> | Thu Feb 28 12:46:23 2019 +0100 |
tree | 6ef068f7303dbd20a28784e66e43d135ad8ce787 | |
parent | 80545ef56d378ad4875dd82c8cfbf40f46aec4a6 [diff] [blame] |
Apilint: properly parse packages with numbers Test: python apilint_tests.py Change-Id: Ib0ad635e3994bbcbfecefddbd4899c3551ab65cf
diff --git a/tools/apilint/apilint.py b/tools/apilint/apilint.py index 295e3de..643d377 100644 --- a/tools/apilint/apilint.py +++ b/tools/apilint/apilint.py
@@ -224,7 +224,7 @@ class Package(): - NAME = re.compile("package(?: .*)? ([A-Za-z.]+)") + NAME = re.compile("package(?: .*)? ([A-Za-z0-9.]+)") def __init__(self, line, raw, blame): self.line = line