#NEWLINE# def get_catalog( catalog_id ) : #NEWLINE# #INDENT# catalog = Catalogs . get ( catalog_id ) #NEWLINE# if ( catalog is None ) : #NEWLINE# #INDENT# storage = S3StorageBackend ( s3connection = S3 , bucket = CONFIG [ 's3_bucket' ] , prefix = catalog_id ) #NEWLINE# catalog = ZincCatalog ( coordinator = Coordinator , storage = storage ) #NEWLINE# Catalogs [ catalog_id ] = catalog #NEWLINE# #UNINDENT# return catalog