diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-02-07 19:22:52 -0500 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-02-07 19:22:52 -0500 |
| commit | 6c749456224b383a95e717c95cdb6289eb9cb5e4 (patch) | |
| tree | 13c827b8b5fcf70569942b77a45d6eaf70a28289 /doc/developer/conf.py | |
| parent | 4898758807b53f79576a2d83c8e22e3ae6d0f45d (diff) | |
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/developer/conf.py')
| -rw-r--r-- | doc/developer/conf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/developer/conf.py b/doc/developer/conf.py index e4c56f54c3..1cb1d45af6 100644 --- a/doc/developer/conf.py +++ b/doc/developer/conf.py @@ -98,8 +98,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] |
