summaryrefslogtreecommitdiff
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2017-05-19 10:14:51 +0100
committerBen Pfaff <blp@ovn.org>2017-05-19 09:13:18 -0700
commit56cb734293acc46a2976c67f49107126669be52f (patch)
treef0017313fde880a1ec8101020c5ce36f4a94661a /Documentation/conf.py
parent0972b49960dd01b40fc424d374bf6384b2c3ec8d (diff)
downloadopenvswitch-56cb734293acc46a2976c67f49107126669be52f.tar.gz
doc: Resolve pep8 warnings in conf.py
flake8 doesn't like us redefining variables in loops. Signed-off-by: Stephen Finucane <stephen@that.guru> Reported-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy@intel.com> Fixes: f15010f ("doc: Reduce duplication in 'man_pages'") Acked-by: Bhanuprakash Bodireddy <Bhanuprakash.bodireddy@intel.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index d70ee6b93..77c4df5c0 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -121,6 +121,6 @@ _man_pages = [
# Generate list of (path, name, description, [author, ...], section)
man_pages = [
- ('ref/%s' % filename, filename.split('.', 1)[0],
- description, [author], filename.split('.', 1)[1])
- for filename, description in _man_pages]
+ ('ref/%s' % file_name, file_name.split('.', 1)[0],
+ description, [author], file_name.split('.', 1)[1])
+ for file_name, description in _man_pages]