Example #1
0
 def saveWebData(self, p_json):
     """A new/changed web is returned.  Process it and update the internal data via ???.py
     """
     l_json = json_tools.decode_json_unicode(p_json)
     l_obj = WebData()
     l_obj.Port = l_json['Port']
     self.m_pyhouse_obj.APIs.Computer.WebAPI.SaveXml(l_obj)
Example #2
0
 def saveWebData(self, p_json):
     """A new/changed web is returned.  Process it and update the internal data via ???.py
     """
     l_json = web_utils.JsonUnicode().decode_json(p_json)
     l_obj = WebData()
     l_obj.Port = l_json['Port']
     self.m_pyhouse_obj.APIs.Computer.WebAPI.SaveXml(l_obj)