Skip to content

Commit 72b6274

Browse files
committed
flake8 fixes
1 parent 0b72cf9 commit 72b6274

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

roundup/dist/command/bdist_rpm.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
from setuptools.command.bdist_rpm import bdist_rpm as base
88
import os
99

10+
1011
# cribbed from 2.7 distutils
11-
def write_file (filename, contents):
12+
def write_file(filename, contents):
1213
"""Create a file with the specified name and write 'contents' (a
1314
sequence of strings without line terminators) to it.
1415
"""
@@ -19,6 +20,7 @@ def write_file (filename, contents):
1920
finally:
2021
f.close()
2122

23+
2224
class bdist_rpm(base):
2325

2426
def finalize_options(self):
@@ -38,8 +40,7 @@ def finalize_options(self):
3840
# man page here is any file
3941
# with single-character extension
4042
# in man directory
41-
"sed -e 's,\(/man/.*\..\)$,\\1*,' "
42-
"<ROUNDUP_FILES >INSTALLED_FILES",
43+
r"sed -e 's,\(/man/.*\..\)$,\\1*,' "
44+
"<ROUNDUP_FILES >INSTALLED_FILES",
4345
]), "writing '%s'" % install_script)
4446
self.install_script = install_script
45-

0 commit comments

Comments
 (0)