parameters: (url)
return_statement: return StringIO.StringIO(req.text)
docstring: file descriptor from remote file using GET
docstring_summary: file descriptor from remote file using GET
docstring_tokens: file descriptor from remote file using GET
function: def get_remote_content(url):
      ''' file descriptor from remote file using GET '''
      req = requests.get(url)
      try:
          req.raise_for_status()
      except Exception as e:
          logger.error("Failed to load data at `{}`".format(url))
          logger.exception(e)
          sys.exit(1)
      return StringIO.StringIO(req.text)
function_tokens: def get_remote_content ( url ) : req = requests . get ( url ) try : req . raise_for_status ( ) except Exception as e : logger . error ( "Failed to load data at `{}`" . format ( url ) ) logger . exception ( e ) sys . exit ( 1 ) return StringIO . StringIO ( req . text )