summaryrefslogtreecommitdiff
path: root/python/python.go
diff options
context:
space:
mode:
author Alex Márquez Pérez Muñíz Díaz Púras Thaureaux <alexmarquez@google.com> 2021-08-20 22:20:23 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-08-20 22:20:23 +0000
commit8f33dcc9e383e86eefaac30a214f9f13af00bc3e (patch)
tree4ef582720274198552f7f1f4bcdc8fa6618b7be9 /python/python.go
parent899b98d508646670ba6ba2861e24bfb58fdf2170 (diff)
parentd75507fff7f542753f2cc3b2c8b6d022c762650d (diff)
Merge "Fix inverted error message"
Diffstat (limited to 'python/python.go')
-rw-r--r--python/python.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/python.go b/python/python.go
index 0f5b7880e..83844e642 100644
--- a/python/python.go
+++ b/python/python.go
@@ -675,7 +675,7 @@ func (p *Module) collectPathsFromTransitiveDeps(ctx android.ModuleContext) {
if !isPythonLibModule(child) {
ctx.PropertyErrorf("libs",
"the dependency %q of module %q is not Python library!",
- ctx.ModuleName(), ctx.OtherModuleName(child))
+ ctx.OtherModuleName(child), ctx.ModuleName())
}
// collect source and data paths, checking that there are no duplicate output file conflicts
if dep, ok := child.(pythonDependency); ok {