Merge "Avoid using built-in function name"

This commit is contained in:
Jenkins 2016-03-25 00:03:39 +00:00 committed by Gerrit Code Review
commit bab51c88b5

View File

@ -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