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

Commit

Permalink
% -> format() in setup.py
Browse files Browse the repository at this point in the history
See PR #139
  • Loading branch information
lmoureaux committed Aug 13, 2018
1 parent 3a27267 commit 1fdebc0
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: %s' % file)
print('Found man page: {}'.format(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%s' % section, man_sections[section]))
data_files.append(('share/man/man{}'.format(section), man_sections[section]))

return data_files

Expand Down

0 comments on commit 1fdebc0

Please sign in to comment.