From 0152fbdc7f90b3dc6fed167ebda2392cbb47954b Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Mon, 21 May 2001 20:34:38 +0000 Subject: Fix bug #418369: typo in bdist_rpm --- Lib/distutils/command/bdist_rpm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py index f421590..4659494 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? -- cgit v0.12