diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-06-08 09:25:40 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-06-10 10:29:21 +0200 |
commit | 057de5c4dd536bdf29275ec75910737087594860 (patch) | |
tree | 8e15ec83b611482f942c0e7888d3dcefa683eb84 /Documentation/sphinx/kernel-doc.py | |
parent | Documentation/sphinx: remove unnecessary temporary variable (diff) | |
download | linux-057de5c4dd536bdf29275ec75910737087594860.tar.xz linux-057de5c4dd536bdf29275ec75910737087594860.zip |
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 <jani.nikula@intel.com>
Diffstat (limited to 'Documentation/sphinx/kernel-doc.py')
-rw-r--r-- | Documentation/sphinx/kernel-doc.py | 2 |
1 files changed, 1 insertions, 1 deletions
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] |