Skip to content

Commit 083f3ee

Browse files
committed
Remove unused arg
1 parent 49248b6 commit 083f3ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gazelle/python/resolve.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (py *Resolver) Imports(c *config.Config, r *rule.Rule, f *rule.File) []reso
6262
if srcs != nil {
6363
return importsSrcLibrary(cfg, srcs, f)
6464
} else if isProtoLibrary(r) {
65-
return importsProtoLibrary(cfg, r, f)
65+
return importsProtoLibrary(cfg, r)
6666
}
6767

6868
return nil
@@ -129,7 +129,7 @@ func isProtoLibrary(r *rule.Rule) bool {
129129
return r.Kind() == pyProtoLibraryKind
130130
}
131131

132-
func importsProtoLibrary(cfg *pythonconfig.Config, r *rule.Rule, f *rule.File) []resolve.ImportSpec {
132+
func importsProtoLibrary(cfg *pythonconfig.Config, r *rule.Rule) []resolve.ImportSpec {
133133
specs := []resolve.ImportSpec{}
134134

135135
// Determine the root module and emit an import for that,

0 commit comments

Comments
 (0)