From 43050f6cde327b703a18a1b8582e1fdb45acfb78 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 9 Dec 2015 14:45:42 +0900 Subject: [PATCH] plugins: rename 'filter' method in BUCK file The name 'filter' overrides a python built-in method. Change-Id: I187d4d34a9c757d76d76d7707156c7482ea59fb4 --- plugins/BUCK | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/BUCK b/plugins/BUCK index 134f2753ef..a31237d1e0 100644 --- a/plugins/BUCK +++ b/plugins/BUCK @@ -11,7 +11,7 @@ CORE = [ # from the root(s) passed to audit. Filter dependencies to only # the ones that currently exist to allow buck to parse cleanly. # TODO(sop): buck should more lazily resolve deps -def filter(names): +def core_plugins(names): from os import path h, n = [], [] for p in names: @@ -20,7 +20,7 @@ def filter(names): else: n.append(p) return h, n -HAVE, NEED = filter(CORE) +HAVE, NEED = core_plugins(CORE) genrule( name = 'core',