aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins/trim_whitespace/__init__.py
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2021-09-23 11:51:04 +1000
committerBen Sturmfels <ben@sturm.com.au>2021-09-23 11:51:04 +1000
commit6f48143f4c60c555b3f571007cdc929ce90920b1 (patch)
tree2a2333a365379d4c4c42faf79bcd9db20aaa8626 /mediagoblin/plugins/trim_whitespace/__init__.py
parentf90707e22c0380bd0f17e2e724e58ecf91abd5a3 (diff)
downloadmediagoblin-6f48143f4c60c555b3f571007cdc929ce90920b1.tar.lz
mediagoblin-6f48143f4c60c555b3f571007cdc929ce90920b1.tar.xz
mediagoblin-6f48143f4c60c555b3f571007cdc929ce90920b1.zip
Apply pyupgrade --py36-plus.
This removes some 'u' prefixes and converts simple format() calls to f-strings.
Diffstat (limited to 'mediagoblin/plugins/trim_whitespace/__init__.py')
-rw-r--r--mediagoblin/plugins/trim_whitespace/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/plugins/trim_whitespace/__init__.py b/mediagoblin/plugins/trim_whitespace/__init__.py
index 6f67218c..713d13d5 100644
--- a/mediagoblin/plugins/trim_whitespace/__init__.py
+++ b/mediagoblin/plugins/trim_whitespace/__init__.py
@@ -64,7 +64,7 @@ class TrimWhiteSpaceMeddleware(meddleware.BaseMeddleware):
# Append ourselves to the list of enabled Meddlewares
meddleware.ENABLED_MEDDLEWARE.append(
- '{}:{}'.format(cls.__module__, cls.__name__))
+ f'{cls.__module__}:{cls.__name__}')
hooks = {