예제 #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)