#NEWLINE# def kms_activate( data ) : #NEWLINE# #INDENT# activation_key = data [ 'activation_key' ] #NEWLINE# profile = data [ 'profile' ] #NEWLINE# domains = data [ 'domains' ] #NEWLINE# update_files = configure_up2date ( domains ) #NEWLINE# commands . network . update_files ( update_files ) #NEWLINE# ret = register_with_rhn ( activation_key , profile ) #NEWLINE# if ret : #NEWLINE# #INDENT# return ret #NEWLINE# #UNINDENT# return ( 0 , '' )