Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Commit

Permalink
Revert "% -> format() in setup.py"
Browse files Browse the repository at this point in the history
This reverts commit 1fdebc0. It didn't
work with Python 2.6.
  • Loading branch information
lmoureaux authored and jsturdy committed Oct 17, 2018
1 parent 3b8fd33 commit 69a710d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 69a710d

Please sign in to comment.