Skip to content

Commit 756f3c5

Browse files
committed
apply linter feedback
1 parent 1677c5c commit 756f3c5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

azure/functions/decorators/function_app.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,13 +287,12 @@ def _invoke_df_decorator(self, df_decorator):
287287
@self._configure_function_builder
288288
def wrap(fb):
289289
def decorator():
290-
# override function builder with result of decorator
291-
fb = df_decorator(fb._function._func)
290+
function_builder = df_decorator(fb._function._func)
292291

293292
# remove old function builder from `self` and replace
294293
# it with the result of the DF decorator
295294
self._function_builders.pop()
296-
self._function_builders.append(fb)
295+
self._function_builders.append(function_builder)
297296
return fb2
298297
return decorator()
299298
return wrap

0 commit comments

Comments
 (0)