]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix bug #418369: typo in bdist_rpm
authorAndrew M. Kuchling <amk@amk.ca>
Mon, 21 May 2001 20:34:38 +0000 (20:34 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Mon, 21 May 2001 20:34:38 +0000 (20:34 +0000)
Lib/distutils/command/bdist_rpm.py

index f421590488956fe7ae4ca9fc4b51ddf61ecd1769..465949453378140488512a4758a0ae16fa728786 100644 (file)
@@ -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?