diff --git a/pep2pyramid.py b/pep2pyramid.py index 920ded1aa..a05357e88 100755 --- a/pep2pyramid.py +++ b/pep2pyramid.py @@ -21,6 +21,7 @@ The optional arguments ``peps`` are either pep numbers or .txt files. import sys import os +import codecs import re import cgi import glob @@ -57,6 +58,13 @@ fixpat = re.compile("((https?|ftp):[-_a-zA-Z0-9/.+~:?#$=&,]+)|(pep-\d+(.txt)?)|" "(PEP\s+(?P\d+))|" ".") +CONTENT_HTML = """\ + +