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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user