Skip to content

Commit 330cd1d

Browse files
committed
apply further linter feedback
1 parent 756f3c5 commit 330cd1d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

azure/functions/decorators/function_app.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def decorator():
293293
# it with the result of the DF decorator
294294
self._function_builders.pop()
295295
self._function_builders.append(function_builder)
296-
return fb2
296+
return function_builder
297297
return decorator()
298298
return wrap
299299

@@ -308,8 +308,9 @@ def _get_durable_blueprint(self):
308308
return df_bp
309309
except ImportError:
310310
error_message = "Attempted to use a Durable Functions decorator, "\
311-
"but the `azure-functions-durable` SDK package could not be found. "\
312-
"Please install `azure-functions-durable` to use Durable Functions."
311+
"but the `azure-functions-durable` SDK package could not be "\
312+
"found. Please install `azure-functions-durable` to use "\
313+
"Durable Functions."
313314
raise Exception(error_message)
314315

315316
@property

0 commit comments

Comments
 (0)