示例#1
0
文件: nand.py 项目: RidgeRun/openfd
 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)
示例#2
0
文件: nand.py 项目: cz172638/openfd
    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)
示例#3
0
    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)
示例#4
0
 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)