def get_path_formats(subview=None):
 path_formats = []
 subview = (subview or config['paths'])
 for (query, view) in subview.items():
  query = PF_KEY_QUERIES.get(query, query)
  path_formats.append((query, Template(view.get(unicode))))
 return path_formats

def get_path_formats ( subview = None ) : path_formats = [ ] subview = ( subview or config [ 'paths' ] ) for ( query , view ) in subview . items ( ) : query = PF_KEY_QUERIES . get ( query , query ) path_formats . append ( ( query , Template ( view . get ( unicode ) ) ) ) return path_formats
get the configurations path formats as a list of query/template pairs .