modified: ri_data.py

modified:   ri_tk.py
	modified:   ri_tk_cmd.py
    fix:
    raid.get_size() return string
    during destory widget instance, delete variables in ri_tk.var_dict
This commit is contained in:
fling
2010-10-19 18:10:47 +08:00
parent a4ed7fc27f
commit f97703aa6c
3 changed files with 9 additions and 5 deletions

View File

@@ -76,7 +76,7 @@ def mp_top_ok():
# if format, use the filesystem just set
idx2 = int(idxs2[0])
fs = eval(display.var_dict['mp_top_fs'].get())[idx2]
elif fm == 'no' and dev in ri_data.Partition.dict.keys():
elif dev in ri_data.Partition.dict.keys():
# else use the filesystem in Partition
fs = ri_data.Partition.dict[dev].filesystem
else: