Skip to content
Permalink
Browse files
Fix #3115 — disable help monkeypatch for doit 0.31.0+
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 10, 2018
1 parent 0678cfc commit 2060292fc3bbd600fa7316f5dea7c873eb250ab8
Showing with 4 additions and 1 deletion.
  1. +4 −1 nikola/plugin_categories.py
@@ -30,6 +30,7 @@
import os
import sys

import doit
import logbook
from doit.cmd_base import Command as DoitCommand
from yapsy.IPlugin import IPlugin
@@ -173,7 +174,9 @@ def help(self):
return "\n".join(text)


DoitCommand.help = help
# we need to patch DoitCommand.help with doit <0.31.0
if doit.__version__ < (0, 31, 0):
DoitCommand.help = help


class BaseTask(BasePlugin):

0 comments on commit 2060292

Please sign in to comment.