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/t/stratuslab-client-14.03.0/stratuslab/system/BaseSystem.py   stratuslab-client(Download)
    def _configureProxyDefaultUsersUsernamePassword(self):
        filename = Defaults.AUTHN_CONFIG_FILE
        search = self.oneUsername
        replace = '%(oneUsername)s=%(proxyOneadminPassword)s,cloud-access' % self.__dict__
        Util.appendOrReplaceInFile(filename, search, replace)

src/s/t/stratuslab-client-14.03.0/stratuslab/Authn.py   stratuslab-client(Download)
    def __init__(self):
        super(UsernamePasswordCredentialsLoader, self).__init__()
        SimpleConfigParser.FILENAME = Defaults.AUTHN_CONFIG_FILE
        self.credentials = self.items