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

Skip to content

Commit 0152fbd

Browse files
committed
Fix bug #418369: typo in bdist_rpm
1 parent 489b56e commit 0152fbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/distutils/command/bdist_rpm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def finalize_package_data (self):
189189
if type(self.doc_files) is ListType:
190190
for readme in ('README', 'README.txt'):
191191
if os.path.exists(readme) and readme not in self.doc_files:
192-
self.doc.append(readme)
192+
self.doc_files.append(readme)
193193

194194
self.ensure_string('release', "1")
195195
self.ensure_string('serial') # should it be an int?

0 commit comments

Comments
 (0)