Merge "Allow "-" to be part of Python file names" am: c039ab084d
am: 123f82f90b
Change-Id: I4b75e8eef41354f6fb09f6b23f7e3cdc6a19dc3c
This commit is contained in:
commit
bfc040e779
|
@ -206,7 +206,7 @@ type dependencyTag struct {
|
||||||
var (
|
var (
|
||||||
pythonLibTag = dependencyTag{name: "pythonLib"}
|
pythonLibTag = dependencyTag{name: "pythonLib"}
|
||||||
launcherTag = dependencyTag{name: "launcher"}
|
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"
|
pyExt = ".py"
|
||||||
protoExt = ".proto"
|
protoExt = ".proto"
|
||||||
pyVersion2 = "PY2"
|
pyVersion2 = "PY2"
|
||||||
|
|
Loading…
Reference in New Issue