summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/bdist_rpm.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-05-21 20:34:38 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-05-21 20:34:38 (GMT)
commit0152fbdc7f90b3dc6fed167ebda2392cbb47954b (patch)
treec93e717b2091b80749802f141c3e2e87461cd938 /Lib/distutils/command/bdist_rpm.py
parent489b56e04480b8ca3f2d1676265e67c65bae788d (diff)
downloadcpython-0152fbdc7f90b3dc6fed167ebda2392cbb47954b.zip
cpython-0152fbdc7f90b3dc6fed167ebda2392cbb47954b.tar.gz
cpython-0152fbdc7f90b3dc6fed167ebda2392cbb47954b.tar.bz2
Fix bug #418369: typo in bdist_rpm
Diffstat (limited to 'Lib/distutils/command/bdist_rpm.py')
-rw-r--r--Lib/distutils/command/bdist_rpm.py2
1 files changed, 1 insertions, 1 deletions
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?