def update(self, data):
        """ Update a list."""
        # if self.debug >= 2:
        #     self.debug(data)
        url = "{base}/change_password".format(
            base=self.local_base_url
        )
        self._check(data)
        res = self.core.create(url, data)
        self.log.debug("result: %s", res)
        return res
def update ( self , data ) : url = "{base}/change_password" . format ( base = self . local_base_url ) self . _check ( data ) res = self . core . create ( url , data ) self . log . debug ( "result: %s" , res ) return res
Update a list.