mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
Documentation/sphinx: use a more sensible string split in kernel-doc extension
Using the default str.split doesn't return empty strings like the current version does. Signed-off-by: Jani Nikula <[email protected]>
This commit is contained in:
parent
06173fe33a
commit
057de5c4dd
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class KernelDocDirective(Directive):
|
|||
elif 'doc' in self.options:
|
||||
cmd += ['-function', str(self.options.get('doc'))]
|
||||
elif 'functions' in self.options:
|
||||
for f in str(self.options.get('functions')).split(' '):
|
||||
for f in str(self.options.get('functions')).split():
|
||||
cmd += ['-function', f]
|
||||
|
||||
cmd += [filename]
|
||||
|
|
|
|||
Loading…
Reference in a new issue