Skip to content

Commit

Permalink
dump_hals_for_release: account for numbers in file name
Browse files Browse the repository at this point in the history
It did not recognize ISupplicantP2pIface.hal and media.c2 package.
Test: run it, check ISupplicantP2pIface and media.c2
Bug: 121546794

Change-Id: Ib386608f407a961c7a041c20cbf92c305f27cc5c
  • Loading branch information
Yifan Hong committed Jan 17, 2019
1 parent dbb2211 commit 089322e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prebuilt_hashes/dump_hals_for_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Globals:

class Constants:
CURRENT = 'current'
HAL_PATH_PATTERN = r'/((?:[a-zA-Z_]+/)*)(\d+\.\d+)/([a-zA-Z_]+).hal'
HAL_PATH_PATTERN = r'/((?:[a-zA-Z_][a-zA-Z0-9_]*/)*)(\d+\.\d+)/([a-zA-Z_][a-zA-Z0-9_]*).hal'
CURRENT_TXT_PATTERN = r'(?:.*/)?([0-9]+|current).txt'

def trim_trailing_comments(line):
Expand Down

0 comments on commit 089322e

Please sign in to comment.