##// END OF EJS Templates
Arg, forgot the most important:...
Arg, forgot the most important: Put the pandoc version test under the pandoc_available test. This avoids raising an exception when the module is imported: the exception is only raised on pandoc(...) function calls. It also prints warnings if pandoc is not found at import time and if the version does not meet the expected one.

File last commit:

r12513:6b68269f
r14761:0d6b11ea
Show More
__init__.py
8 lines | 185 B | text/x-python | PythonLexer
from .base import PostProcessorBase
from .pdf import PDFPostProcessor
# protect against unavailable tornado
try:
from .serve import ServePostProcessor
except ImportError:
pass