diff options
author | Justin Mayer <entroP@gmail.com> | 2022-08-01 13:24:21 +0200 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2022-08-01 13:24:21 +0200 |
commit | 21e855a29f7c01640e400ce021b8e5f640e033e2 (patch) | |
tree | 2e145be1863e5dbbf11f332bcb0ff6b0a29847a7 | |
parent | 9c0c5b4929912a8d75436df726bbe62fb2e4c60b (diff) | |
download | pelican-21e855a29f7c01640e400ce021b8e5f640e033e2.tar.gz |
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+.
-rwxr-xr-x | pelican/tools/pelican_import.py | 2 |
1 files changed, 1 insertions, 1 deletions
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( |