def read_partitions(self, filename): """ Reads the partitions information from the given file. :param filename: Path to the file with the partitions information. """ self._partitions[:] = [] self._partitions = read_nand_partitions(filename)
def read_partitions(self, filename): """ Reads the partitions information from the given file. :param filename: Path to the file with the partitions information. :returns: Returns true on success; false otherwise. """ self._partitions[:] = [] self._partitions = read_nand_partitions(filename)