Merge "Allow "-" to be part of Python file names" am: c039ab084d

am: 123f82f90b

Change-Id: I4b75e8eef41354f6fb09f6b23f7e3cdc6a19dc3c
This commit is contained in:
Nan Zhang 2018-05-24 15:51:17 -07:00 committed by android-build-merger
commit bfc040e779
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ type dependencyTag struct {
var (
pythonLibTag = dependencyTag{name: "pythonLib"}
launcherTag = dependencyTag{name: "launcher"}
pyIdentifierRegexp = regexp.MustCompile(`^([a-z]|[A-Z]|_)([a-z]|[A-Z]|[0-9]|_)*$`)
pyIdentifierRegexp = regexp.MustCompile(`^[a-zA-Z_][a-zA-Z0-9_-]*$`)
pyExt = ".py"
protoExt = ".proto"
pyVersion2 = "PY2"