def _get_raw_path(src, dst):
 if (len(path_map) == 0):
  _calc_paths()
 if (src is dst):
  return []
 if (path_map[src][dst][0] is None):
  return None
 intermediate = path_map[src][dst][1]
 if (intermediate is None):
  return []
 return ((_get_raw_path(src, intermediate) + [intermediate]) + _get_raw_path(intermediate, dst))

def _get_raw_path ( src , dst ) : if ( len ( path_map ) == 0 ) : _calc_paths ( ) if ( src is dst ) : return [ ] if ( path_map [ src ] [ dst ] [ 0 ] is None ) : return None intermediate = path_map [ src ] [ dst ] [ 1 ] if ( intermediate is None ) : return [ ] return ( ( _get_raw_path ( src , intermediate ) + [ intermediate ] ) + _get_raw_path ( intermediate , dst ) )
get a raw path .