Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing post scanner plugin order #2720

Merged
merged 3 commits into from Apr 14, 2017
Merged

Fixing post scanner plugin order #2720

merged 3 commits into from Apr 14, 2017

Conversation

@felixfontein
Copy link
Contributor

@felixfontein felixfontein commented Apr 14, 2017

Fixes #2542.

nikola/nikola.py Outdated
@@ -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):
Copy link
Member

@Kwpolska Kwpolska Apr 14, 2017

key=operator.attrgetter('name')

Copy link
Member

@Kwpolska Kwpolska left a comment

LGTM

@Kwpolska Kwpolska merged commit 6356485 into master Apr 14, 2017
0 of 5 checks passed
@Kwpolska Kwpolska deleted the fixing-2542 branch Apr 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants