Fix bug #418369: typo in bdist_rpm

This commit is contained in:
Andrew M. Kuchling 2001-05-21 20:34:38 +00:00
parent 489b56e044
commit 0152fbdc7f
1 changed files with 1 additions and 1 deletions

View 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?