diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-02-08 01:22:52 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-02-08 01:22:52 +0100 |
commit | 6c749456224b383a95e717c95cdb6289eb9cb5e4 (patch) | |
tree | 13c827b8b5fcf70569942b77a45d6eaf70a28289 /doc/manpages | |
parent | doc: fix makefiles again (diff) | |
download | frr-6c749456224b383a95e717c95cdb6289eb9cb5e4.tar.xz frr-6c749456224b383a95e717c95cdb6289eb9cb5e4.zip |
doc: use python 2.6 format strings
Centos 6 only has python 2.6 which requires numerical identifiers for
format strings
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'doc/manpages')
-rw-r--r-- | doc/manpages/conf.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manpages/conf.py b/doc/manpages/conf.py index 403e86e55..6da6ebff0 100644 --- a/doc/manpages/conf.py +++ b/doc/manpages/conf.py @@ -100,8 +100,8 @@ with open('../../config.status', 'r') as cfgstatus: # manually fill out some of these we can't get from config.status replace_vars['COPYRIGHT_STR'] = "Copyright (c)" -replace_vars['COPYRIGHT_STR'] += ' {}'.format(replace_vars['COPYRIGHT_YEAR']) -replace_vars['COPYRIGHT_STR'] += ' {}'.format(replace_vars['AUTHORS']) +replace_vars['COPYRIGHT_STR'] += ' {0}'.format(replace_vars['COPYRIGHT_YEAR']) +replace_vars['COPYRIGHT_STR'] += ' {0}'.format(replace_vars['AUTHORS']) release = replace_vars['PACKAGE_VERSION'] version = release.split('-')[0] @@ -306,7 +306,7 @@ latex_documents = [ # If true, show URL addresses after external links. #man_show_urls = False -fwfrr = "{} routing engine for use with FRRouting." +fwfrr = "{0} routing engine for use with FRRouting." man_pages = [ ('bgpd', 'bgpd', fwfrr.format("a BGPv4, BGPv4+, BGPv4- "), [], 8), |