From e87a330fa42220bd53c8f9ab990c8daa659cc358 Mon Sep 17 00:00:00 2001 From: dharmendra kushwaha Date: Wed, 16 Mar 2016 22:30:54 +0530 Subject: [PATCH] Avoid using built-in function name Avoid using built-in function name. Here filter is a built-in function name. As per python standard we should not use it. Change-Id: I6a005ca55d42dd41f9ac0b482bee056a23671190 --- tacker/auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tacker/auth.py b/tacker/auth.py index 3c0bbd0a4..f0a4a5257 100644 --- a/tacker/auth.py +++ b/tacker/auth.py @@ -72,6 +72,6 @@ def pipeline_factory(loader, global_conf, **local_conf): filters = [loader.get_filter(n) for n in pipeline[:-1]] app = loader.get_app(pipeline[-1]) filters.reverse() - for filter in filters: - app = filter(app) + for f in filters: + app = f(app) return app