#NEWLINE# def SetUnattendedUninstall( self , unattended_uninstall ) : #NEWLINE# #INDENT# 'Set the package info unattended uninstall.\n\n    Args:\n      unattended_uninstall: bool, unattended uninstall?\n    Raises:\n      PlistNotParsedError: the plist was not parsed\n    ' #NEWLINE# if ( not hasattr ( unattended_uninstall , '_plist' ) ) : #NEWLINE# #INDENT# raise PlistNotParsedError #NEWLINE# #UNINDENT# if unattended_uninstall : #NEWLINE# #INDENT# self . _plist [ 'unattended_uninstall' ] = True #NEWLINE# self . _plist [ 'forced_uninstall' ] = True #NEWLINE# self . _changed = True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( 'unattended_uninstall' in self . _plist ) : #NEWLINE# #INDENT# del self . _plist [ 'unattended_uninstall' ] #NEWLINE# self . _changed = True #NEWLINE# #UNINDENT# if ( 'forced_uninstall' in self . _plist ) : #NEWLINE# #INDENT# del self . _plist [ 'forced_uninstall' ] #NEWLINE# self . _changed = True