From 7c0b36f1467d2d8ea5fdc572d5edfce476a6eb89 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 26 May 2017 09:16:45 -0400 Subject: [PATCH] cleanup #2326 --- flask/cli.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flask/cli.py b/flask/cli.py index fd62300d..363b02ed 100644 --- a/flask/cli.py +++ b/flask/cli.py @@ -98,10 +98,10 @@ def call_factory(app_factory, script_info, arguments=()): def find_app_by_string(string, script_info, module): - """Checks if the given string is a variable name or a function. If it is - a function, it checks for specified arguments and whether it takes - a ``script_info`` argument and calls the function with the appropriate - arguments. If it is a """ + """Checks if the given string is a variable name or a function. If it is + a function, it checks for specified arguments and whether it takes + a ``script_info`` argument and calls the function with the appropriate + arguments.""" from . import Flask function_regex = r'^(?P\w+)(?:\((?P.*)\))?$' match = re.match(function_regex, string)