modified: ri_tk_cmd.py

fix
    Partition.dict --> ri_data.Partition.dict
This commit is contained in:
fling
2010-10-19 13:28:11 +08:00
parent b52f535f6b
commit 4e99936219

View File

@@ -76,9 +76,9 @@ 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 dev in Partition.dict.keys():
elif dev in ri_data.Partition.dict.keys():
# else use the filesystem in Partition
fs = Partition.dict[dev].filesystem
fs = ri_data.Partition.dict[dev].filesystem
else:
fs = ' '
s2 = dev.ljust(10) + dr.ljust(10) + fs.ljust(10) + fm.ljust(4) + sz.ljust(6) + ri_data.Partition.unit