#NEWLINE# def save( self , package ) : #NEWLINE# #INDENT# summary = self . engine . get ( PackageSummary , name = package . name ) #NEWLINE# if ( summary is None ) : #NEWLINE# #INDENT# summary = PackageSummary ( package ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# summary . update_with ( package ) #NEWLINE# #UNINDENT# self . engine . save ( package ) #NEWLINE# self . engine . sync ( self )