Permalink
Browse files
Fixing post scanner plugin order (fixes #2542).
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
nikola/nikola.py
|
@@ -2098,7 +2098,7 @@ def scan_posts(self, really=False, ignore_quit=False, quiet=False): |
|
|
self.timeline = []
|
|
|
self.pages = []
|
|
|
|
|
|
- for p in self.plugin_manager.getPluginsOfCategory('PostScanner'):
|
|
|
+ for p in sorted(self.plugin_manager.getPluginsOfCategory('PostScanner'), key=lambda p: p.name):
|
|
|
timeline = p.plugin_object.scan()
|
|
|
# FIXME: can there be conflicts here?
|
|
|
self.timeline.extend(timeline)
|
|
|
0 comments on commit
36948f0