mirror of https://github.com/kivy/kivy.git
Return an empty string for missing summary lines. Can't compare None to strings in Py3k.
This commit is contained in:
parent
526e1faee3
commit
dc19a8fa5b
|
@ -160,7 +160,7 @@ template_examples_ref = \
|
|||
|
||||
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