[Python-checkins] peps: add missing import

benjamin.peterson python-checkins at python.org
Wed Oct 8 01:26:51 CEST 2014


https://hg.python.org/peps/rev/c867ee75bd20
changeset:   5579:c867ee75bd20
user:        Benjamin Peterson <benjamin at python.org>
date:        Tue Oct 07 19:26:44 2014 -0400
summary:
  add missing import

files:
  pep2html.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/pep2html.py b/pep2html.py
--- a/pep2html.py
+++ b/pep2html.py
@@ -308,6 +308,7 @@
 
 def fix_rst_pep(inpath, input_lines, outfile):
     from docutils import core
+    from docutils.transforms.peps import Headers
     Headers.pep_cvs_url = PEPCVSURL
     output = core.publish_string(
         source=''.join(input_lines),

-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list