parameters: (self)
docstring: List CatalogReferences to all contained nested catalogs
docstring_summary: List CatalogReferences to all contained nested catalogs
docstring_tokens: List CatalogReferences to all contained nested catalogs
function: def ListNested(self):
  		""" List CatalogReferences to all contained nested catalogs """
  		new_version = (self.schema <= 1.2 and self.schema_revision > 0)
  		if new_version:
  			sql_query = "SELECT path, sha1, size FROM nested_catalogs;"
  		else:
  			sql_query = "SELECT path, sha1 FROM nested_catalogs;"
  		catalogs = self.RunSql(sql_query)
  		if new_version:
  			return [ CatalogReference(clg[0], clg[1], clg[2]) for clg in catalogs ]
  		else:
  			return [ CatalogReference(clg[0], clg[1]) for clg in catalogs ]
function_tokens: def ListNested ( self ) : new_version = ( self . schema <= 1.2 and self . schema_revision > 0 ) if new_version : sql_query = "SELECT path, sha1, size FROM nested_catalogs;" else : sql_query = "SELECT path, sha1 FROM nested_catalogs;" catalogs = self . RunSql ( sql_query ) if new_version : return [ CatalogReference ( clg [ 0 ] , clg [ 1 ] , clg [ 2 ] ) for clg in catalogs ] else : return [ CatalogReference ( clg [ 0 ] , clg [ 1 ] ) for clg in catalogs ]