From: Jani Nikula Date: Wed, 8 Jun 2016 07:25:40 +0000 (+0300) Subject: Documentation/sphinx: use a more sensible string split in kernel-doc extension X-Git-Tag: v6.1~16023^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=057de5c4dd536bdf29275ec75910737087594860;p=sdk%2Femulator%2Femulator-kernel.git 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 --- diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py index 2856376cc62c..d6a76f9a0ba5 100644 --- a/Documentation/sphinx/kernel-doc.py +++ b/Documentation/sphinx/kernel-doc.py @@ -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]