#NEWLINE# def setVersion( self , label , version ) : #NEWLINE# #INDENT# 'sets the version of this instance\n\n           I attempt to delegate to the original provider.\n\n           @param label: (string)\n           @param version: (string)\n\n           @return AppInstance()\n        ' #NEWLINE# version = AppVersion . makeVersion ( self . name , version ) #NEWLINE# thisInst = None #NEWLINE# thisInst = self . getInstance ( label ) #NEWLINE# if ( thisInst . version != version ) : #NEWLINE# #INDENT# thisInst . version = label #NEWLINE# #UNINDENT# return thisInst