Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f9320b

Browse files
committed
Fix line-endings.
Fix bad operator precedence: should be "(metadata or '') + '\n'".
1 parent dd13e4f commit 6f9320b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/distutils/command/bdist_wininst.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def create_inifile (self):
121121

122122
# 'info' will be displayed in the installer's dialog box,
123123
# describing the items to be installed.
124-
info = metadata.long_description or '' + '\n'
124+
info = (metadata.long_description or '') + '\n'
125125

126126
for name in dir (metadata):
127127
if (name != 'long_description'):

0 commit comments

Comments
 (0)