Lines Matching refs:default_opt
34 default_opt = {}
47 default_opt[components[0].strip()] = components[1].strip()
55 default_opt[components[0].strip()] = components[1].strip()
60 default_opt[key] = value
63 for key, value in default_opt.iteritems():
65 default_opt[key] = int(value)
67 return default_opt
70 def convert_conf_opt(default_opt): argument
78 if 'base_features' in default_opt:
79 mkfs_opt['-O'] = default_opt['base_features']
80 if 'default_features' in default_opt:
81 mkfs_opt['-O'] += ',%s' % default_opt['default_features']
82 if 'features' in default_opt:
83 mkfs_opt['-O'] += ',%s' % default_opt['features']
86 if key in default_opt:
87 mkfs_opt[value] = default_opt[key]