make doc autobuild.py work under python 3

This commit is contained in:
dessant 2014-10-20 23:03:53 +03:00
parent 6cccfc9dfe
commit bb73f4ab46
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ template_examples_ref = ('# :ref:`Jump directly to Examples'
def extract_summary_line(doc):
if doc is None:
return
return ''
for line in doc.split('\n'):
line = line.strip()
# don't take empty line