From 6f48143f4c60c555b3f571007cdc929ce90920b1 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Thu, 23 Sep 2021 11:51:04 +1000 Subject: Apply pyupgrade --py36-plus. This removes some 'u' prefixes and converts simple format() calls to f-strings. --- mediagoblin/tools/routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mediagoblin/tools/routing.py') diff --git a/mediagoblin/tools/routing.py b/mediagoblin/tools/routing.py index ebd2c08e..c06dfb00 100644 --- a/mediagoblin/tools/routing.py +++ b/mediagoblin/tools/routing.py @@ -49,7 +49,7 @@ def endpoint_to_controller(rule): endpoint = rule.endpoint view_func = rule.gmg_controller - _log.debug('endpoint: {} view_func: {}'.format(endpoint, view_func)) + _log.debug(f'endpoint: {endpoint} view_func: {view_func}') # import the endpoint, or if it's already a callable, call that if isinstance(view_func, str): -- cgit v1.2.3