def get_ext_list():
 exts = []
 for ext in cfg.prio_sort_list():
  ext = ext.strip()
  if (not ext.startswith('.')):
   ext = ('.' + ext)
  exts.append(ext)
 return exts

def get_ext_list ( ) : exts = [ ] for ext in cfg . prio_sort_list ( ) : ext = ext . strip ( ) if ( not ext . startswith ( '.' ) ) : ext = ( '.' + ext ) exts . append ( ext ) return exts
return priority extension list .