Show More
@@ -409,7 +409,10 b' license. To use profiling, please install"python2.3-profiler" from non-free.""")' | |||||
409 | break |
|
409 | break | |
410 | if mode == 'brief': |
|
410 | if mode == 'brief': | |
411 | # only first line |
|
411 | # only first line | |
412 | fndoc = fn.__doc__.split('\n',1)[0] |
|
412 | if fn.__doc__: | |
|
413 | fndoc = fn.__doc__.split('\n',1)[0] | |||
|
414 | else: | |||
|
415 | fndoc = 'No documentation' | |||
413 | else: |
|
416 | else: | |
414 | fndoc = fn.__doc__ |
|
417 | fndoc = fn.__doc__ | |
415 |
|
418 |
General Comments 0
You need to be logged in to leave comments.
Login now