Merge "Allow "-" to be part of Python file names"
am: c039ab084d
Change-Id: I636d5b7e7912484c7e511b187992c6e250543aaa
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user