modified: ri_data.py

modified:   ri_func_dep.py
	modified:   ri_main.py
	modified:   ri_tk_cmd.py
     Because the function sort() return value is not a list. it is return <type 'NoneType'>.so use for k in ri_data.MountPoint.dict{}.keys().sort() must be throw a exception
This commit is contained in:
fling
2010-10-19 04:42:25 +08:00
parent 4ee199b0c2
commit b52f535f6b
4 changed files with 27 additions and 13 deletions

View File

@@ -38,7 +38,7 @@ else:
print 'error: interface xml(%s) does not exist' %itf_xml
sys.exit(1)
if os.path.isfile(ins_xml):
if os.path.isfile(ri_data.install_xml):
ri_data.init_from_xml()
else:
ri_data.init()