Merge pull request #1006 from saimn/fix_docutils

Use the `docutils` variable to check if docutils is installed, not `core`
This commit is contained in:
Justin Mayer 2013-08-04 20:58:39 -07:00
commit 97c2598cdf

View file

@ -5,7 +5,7 @@ import datetime
import logging
import os
import re
import logging
try:
import docutils
import docutils.core
@ -15,7 +15,7 @@ try:
# import the directives to have pygments support
from pelican import rstdirectives # NOQA
except ImportError:
core = False
docutils = False
try:
from markdown import Markdown
except ImportError: