'Utility method to send a publisher warranty get logs messages.'

@api.model
def _get_sys_logs(self):

    msg = self._get_message()
    arguments = {'arg0': msg, 'action': 'update'}
    arguments_raw = werkzeug.urls.url_encode(arguments)
    url = config.get('publisher_warranty_url')
    uo = urllib2.urlopen(url, arguments_raw, timeout=30)
    try:
        submit_result = uo.read()
        return literal_eval(submit_result)
    finally:
        uo.close()
