fix bug 1909 about partition
modified: new_partition/interface_partition.py
This commit is contained in:
@@ -916,7 +916,7 @@ def del_msdos_partition(partition,dev):
|
||||
elif re.search('free', pre_partition) and not re.search('free', next_partition):
|
||||
if locals().has_key('extended_start') and \
|
||||
(float(get_num(p_d.Partition.dict[dev]['partition'][pre_partition]['start']))\
|
||||
>= float(get_num(extended_start)) or \
|
||||
>= float(get_num(extended_start)) and \
|
||||
float(get_num(p_d.Partition.dict[dev]['partition'][pre_partition]['end']))\
|
||||
<= float(get_num(extended_end))):
|
||||
len_free_list = len(p_d.sort_partitions(p_d.Partition.dict, dev, "free"))
|
||||
|
||||
Reference in New Issue
Block a user