Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/s/l/slider-HEAD/slider-agent/src/main/python/agent/main.py   slider(Download)
  # update configurations if needed
  if options.host:
      agentConfig.set(AgentConfig.SERVER_SECTION, "hostname", options.host)
 
  if options.port:
      agentConfig.set(AgentConfig.SERVER_SECTION, "port", options.port)
 
  server_url = SERVER_STATUS_URL.format(
    agentConfig.get(AgentConfig.SERVER_SECTION, 'hostname'),
    agentConfig.get(AgentConfig.SERVER_SECTION, 'port'),
    agentConfig.get(AgentConfig.SERVER_SECTION, 'check_path'))

src/s/l/slider-HEAD/slider-agent/src/main/python/agent/Controller.py   slider(Download)
    self.config = config
    self.hostname = config.getLabel()
    server_url = 'http://' + config.get(AgentConfig.SERVER_SECTION,
                                        'hostname') + \
                 ':' + config.get(AgentConfig.SERVER_SECTION,