From 3dfd3ce4785480d46f6783c91398f2694d64b033 Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Mon, 16 Nov 2020 11:30:55 -0800 Subject: Fix bug in python module hasExtention. Test: m nothing Test: soong go tests Change-Id: I1944a3bbb871bc1021c841d944e765bb0cadba86 --- python/python.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/python.go') diff --git a/python/python.go b/python/python.go index 945e2645f..e4c8e9481 100644 --- a/python/python.go +++ b/python/python.go @@ -300,7 +300,7 @@ func hasSrcExt(srcs []string, ext string) bool { } func (p *Module) hasSrcExt(ctx android.BottomUpMutatorContext, ext string) bool { - return hasSrcExt(p.properties.Srcs, protoExt) + return hasSrcExt(p.properties.Srcs, ext) } func (p *Module) DepsMutator(ctx android.BottomUpMutatorContext) { -- cgit v1.2.3