def complete_modules(text):
 import MAVProxy.modules, pkgutil
 modlist = [x[1] for x in pkgutil.iter_modules(MAVProxy.modules.__path__)]
 ret = []
 loaded = set(complete_loadedmodules(''))
 for m in modlist:
  if (not m.startswith('mavproxy_')):
   continue
  name = m[9:]
  if (not (name in loaded)):
   ret.append(name)
 return ret

def complete_modules ( text ) : import MAVProxy . modules , pkgutil modlist = [ x [ 1 ] for x in pkgutil . iter_modules ( MAVProxy . modules . __path__ ) ] ret = [ ] loaded = set ( complete_loadedmodules ( '' ) ) for m in modlist : if ( not m . startswith ( 'mavproxy_' ) ) : continue name = m [ 9 : ] if ( not ( name in loaded ) ) : ret . append ( name ) return ret
complete mavproxy module names .