(self, path)
Save the profile to disk.

    Args:
      path: str, the path to save the profile to.

    Raises:
      ProfileValidationError: profile data was not valid.
      ProfileSaveError: profile could not be saved.
Save the profile to disk.
Save the profile to disk .
def Save(self, path):
    """Save the profile to disk.

    Args:
      path: str, the path to save the profile to.

    Raises:
      ProfileValidationError: profile data was not valid.
      ProfileSaveError: profile could not be saved.
    """
    self._ValidateProfile()
    try:
      plistlib.writePlist(self._profile, path)
    except (IOError, TypeError) as e:
      raise ProfileSaveError('The profile could not be saved: %s' % e)
def Save ( self , path ) : self . _ValidateProfile ( ) try : plistlib . writePlist ( self . _profile , path ) except ( IOError , TypeError ) as e : raise ProfileSaveError ( 'The profile could not be saved: %s' % e )