mirror of https://github.com/kivy/kivy.git
make doc autobuild.py work under python 3
This commit is contained in:
parent
6cccfc9dfe
commit
bb73f4ab46
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue