Lines Matching refs:cfg
28 def preparse_partitions(gpt_in, cfg): argument
32 partitions = cfg.get('base', 'partitions').split()
50 cfg = ConfigParser.SafeConfigParser()
52 cfg.read(gpt_in)
54 part = preparse_partitions(gpt_in, cfg)
58 if cfg.has_option('base', 'start_lba'):
59 start_lba = cfg.getint('base', 'start_lba')
67 length = cfg.get('partition.' + p, 'len')
70 label = cfg.get('partition.' + p, 'label').encode('utf-16le')
73 guid_type = cfg.get('partition.' + p, 'type')
77 guid = uuid.UUID(cfg.get('partition.' + p, 'guid'))