From: Andrew M. Kuchling Date: Mon, 21 May 2001 20:34:38 +0000 (+0000) Subject: Fix bug #418369: typo in bdist_rpm X-Git-Tag: v2.2a3~1725 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0152fbdc7f90b3dc6fed167ebda2392cbb47954b;p=thirdparty%2FPython%2Fcpython.git Fix bug #418369: typo in bdist_rpm --- diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py index f42159048895..465949453378 100644 --- a/Lib/distutils/command/bdist_rpm.py +++ b/Lib/distutils/command/bdist_rpm.py @@ -189,7 +189,7 @@ class bdist_rpm (Command): if type(self.doc_files) is ListType: for readme in ('README', 'README.txt'): if os.path.exists(readme) and readme not in self.doc_files: - self.doc.append(readme) + self.doc_files.append(readme) self.ensure_string('release', "1") self.ensure_string('serial') # should it be an int?