#NEWLINE# def _get_artifact_config_hash( self , cur , artifact_name ) : #NEWLINE# #INDENT# "Returns the artifact's config hash." #NEWLINE# cur . execute ( '\n            select config_hash from artifact_config_hashes\n             where artifact = ?\n        ' , [ rv ] ) #NEWLINE# rv = cur . fetchone ( ) #NEWLINE# return ( ( rv and rv [ 0 ] ) or None )