Searched refs:res_code (Results 1 – 2 of 2) sorted by relevance
136 def _print_error(change, res_code, res_json): argument149 print('HTTP status code:', res_code, file=sys.stderr)161 res_code, res_json = func(*args)163 res_code = error.code166 if res_code != kwargs.get('expected_http_code', 200):167 _print_error(change, res_code, res_json)
151 res_code = response_file.getcode()153 return (res_code, res_json)