forked from github/pelican
re-import cgi. properly turn utils.open into a context manager
This commit is contained in:
parent
c608d39aa4
commit
caa4442abb
2 changed files with 9 additions and 3 deletions
|
|
@ -15,7 +15,8 @@ except ImportError:
|
|||
Markdown = False # NOQA
|
||||
import re
|
||||
|
||||
from htmlparser import HTMLParser
|
||||
import cgi
|
||||
from HTMLParser import HTMLParser
|
||||
|
||||
from pelican.contents import Category, Tag, Author
|
||||
from pelican.utils import get_date, open
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue