From 21e855a29f7c01640e400ce021b8e5f640e033e2 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Mon, 1 Aug 2022 13:24:21 +0200 Subject: [PATCH] Adjust code style for Flake8 5.0+ We are pinned to Flake8 <4.0, but at least we'll be compliant if we ever upgrade to Flake8 5.0+. --- pelican/tools/pelican_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/tools/pelican_import.py b/pelican/tools/pelican_import.py index b74da750..5b08b6b5 100755 --- a/pelican/tools/pelican_import.py +++ b/pelican/tools/pelican_import.py @@ -350,7 +350,7 @@ def dc2fields(file): else: i = 1 j = 1 - while(i <= int(tag[:1])): + while (i <= int(tag[:1])): newtag = tag.split('"')[j].replace('\\', '') tags.append( BeautifulSoup(