Ticket #582 (closed defect: fixed)
UploadDirectory tests fail on python 2.3 since tarfile.extractall is not available
| Reported by: | dbailey | Owned by: | warner |
|---|---|---|---|
| Priority: | critical | Milestone: | 0.7.11 |
| Version: | 0.7.10 | Keywords: | |
| Cc: |
Description
Following test fail on python 2.3
buildbot.test.test_transfer.UploadDirectory.testBigFile buildbot.test.test_transfer.UploadDirectory.testManyDirsManyFiles buildbot.test.test_transfer.UploadDirectory.testManyEmptyDirs buildbot.test.test_transfer.UploadDirectory.testOneDirManyFiles buildbot.test.test_transfer.UploadDirectory.testOneDirOneFile buildbot.test.test_transfer.UploadDirectory.testOneEmptyDir buildbot.test.test_transfer.UploadDirectory.testSuccess
all with the same error
File "/build/user/darragh/rpmbuild/BUILD/djmitche-buildbot-4066acfdd6477e59b00767c1c5607e4666e15d6d/buildbot/steps/transfer.py", line 90, in remote_unpack
archive.extractall(path=self.destroot)
exceptions.AttributeError: 'TarFile' object has no attribute 'extractall'
Problem is that Tarfile.extractall was only added since python 2.5 according to the python documentation
http://docs.python.org/library/tarfile.html
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/trac/chrome/site/header-text-transparent.png)
