def unpack(self): # Extracts the archive into the unpacked path - the unpacked # path will then point to the folder and whatever is inside the archive # is actually completely contained inside self.unpacked_path() extract_archive(self.archive_path(), self.unpacked_path())
def unpack(self): # Extracts the archive into the unpacked dir - the unpacked # path will then point to the folder because it is ASSUMED that the # archive name matches the name of the asset and therefore the asset # is actually completely contained inside self.unpacked_path() extract_archive(self.archive_path(), self._unpacked_cache_dir())