archive: Remove clean_dir parameters
Users of the archive class are responsible for the removal of target directories.
This commit is contained in:
@@ -44,7 +44,8 @@ class ArchiveTestCase(unittest.TestCase):
|
||||
targetDir = '/tmp/tests'
|
||||
archives = sourcearchive.SourceArchives(spec)
|
||||
archives.fetch(interactive = False)
|
||||
archives.unpack(targetDir, clean_dir=True)
|
||||
util.clean_dir(targetDir)
|
||||
archives.unpack(targetDir)
|
||||
del archives
|
||||
|
||||
newDir = targetDir + '/newZip'
|
||||
|
||||
Reference in New Issue
Block a user