From 69a710d64ec62a059de239c1d30bc4bbc021d011 Mon Sep 17 00:00:00 2001 From: Louis Moureaux Date: Mon, 13 Aug 2018 21:14:02 +0200 Subject: [PATCH] Revert "% -> format() in setup.py" This reverts commit 1fdebc048ab587114506c9bf3520fda60a8f3116. It didn't work with Python 2.6. --- pkg/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/setup.py b/pkg/setup.py index 34510f37..8db5930f 100644 --- a/pkg/setup.py +++ b/pkg/setup.py @@ -60,11 +60,11 @@ def getdatafiles(): # Man files man_sections = {} for file in listdir(mandir): - print('Found man page: {}'.format(file)) + print('Found man page: %s' % file) section = file.split('.')[-2] man_sections[section] = man_sections.get(section, []) + [join(mandir, file)] for section in man_sections: - data_files.append(('share/man/man{}'.format(section), man_sections[section])) + data_files.append(('share/man/man%s' % section, man_sections[section])) return data_files