def _SetPlist(self, plist):
    if type(plist) is unicode:
      self._plist = db.Text(plist)
      self._ParsePlist()
    elif type(plist) is str:
      self._plist = db.Text(plist, encoding='utf-8')
      self._ParsePlist()
    else:
      self._plist_obj = plist
      self._plist = db.Text(self._plist_obj.GetXml())
Sets the _plist property.
dataset/ETHPy150Open google/simian/src/simian/mac/models/base.py/BasePlistModel._SetPlist