Lines Matching refs:code
31 # This code is derived from appcfg.py in the App Engine SDK (open source),
118 def __init__(self, url, code, msg, headers, args):
119 urllib2.HTTPError.__init__(self, url, code, msg, headers, None)
207 if e.code == 403:
210 raise ClientLoginError(req.get_full_url(), e.code, e.msg,
233 if (response.code != 302 or
235 raise urllib2.HTTPError(req.get_full_url(), response.code, response.msg,
245 (see http://code.google.com/apis/accounts/AuthForInstalledApps.html).
333 elif e.code == 401:
335 ## elif e.code >= 500 and e.code < 600:
543 """Executes a command and returns the output from stdout and the return code.
552 Tuple (output, return code)