

@classmethod
def _validate_host_name(cls, hostname):
    if any(((s in hostname) for s in ['http', '/'])):
        raise BootstrapValidationError(("invalid hostname to be bootstrapped: '%s'" % s))
    return hostname

dataset/ETHPy150Open CacheBrowser/cachebrowser/cachebrowser/bootstrap.py Bootstrapper._validate_host_name/VarMisuse@43/68 `hostname`->`s`