summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Giordani <giordani.leonardo@gmail.com>2020-12-01 18:07:51 +0000
committerGitHub <noreply@github.com>2020-12-01 19:07:51 +0100
commit9435a6c0451a32ab3dba602fba3b79b3c06c929c (patch)
tree1100f9480a0ed767551e1ec2583b3b4d4e7b6a1b
parent246da3b4d815ac340e8bde889964022b20a5ac48 (diff)
downloadpelican-9435a6c0451a32ab3dba602fba3b79b3c06c929c.tar.gz
Fix code indented incorrectly in generators logging (#2823)
-rw-r--r--RELEASE.md3
-rw-r--r--pelican/__init__.py6
2 files changed, 6 insertions, 3 deletions
diff --git a/RELEASE.md b/RELEASE.md
new file mode 100644
index 00000000..c1978b31
--- /dev/null
+++ b/RELEASE.md
@@ -0,0 +1,3 @@
+Release type: patch
+
+Fix a mistake made in PR #2821
diff --git a/pelican/__init__.py b/pelican/__init__.py
index b6ebb762..0d723220 100644
--- a/pelican/__init__.py
+++ b/pelican/__init__.py
@@ -178,9 +178,9 @@ class Pelican:
if not isinstance(values, Iterable):
values = (values,)
- discovered_generators.extend(
- [(generator, receiver.__module__) for generator in values]
- )
+ discovered_generators.extend(
+ [(generator, receiver.__module__) for generator in values]
+ )
# StaticGenerator must run last, so it can identify files that
# were skipped by the other generators, and so static files can