

def __init__(self, app, conf):
    self.app = app
    self.conf = conf
    self.logger = swift_utils.get_logger(conf, log_route='keystoneauth')
    (self.reseller_prefixes, self.account_rules) = config_read_reseller_options(conf, dict(operator_roles=['admin', 'swiftoperator'], service_roles=[]))
    self.reseller_admin_role = conf.get('reseller_admin_role', 'ResellerAdmin').lower()
    config_is_admin = conf.get('is_admin', 'false').lower()
    if swift_utils.config_true_value(config_is_admin):
        app.logger.warning("The 'is_admin' option for keystoneauth is no longer supported. Remove the 'is_admin' option from your keystoneauth config")
    config_overrides = conf.get('allow_overrides', 't').lower()
    self.allow_overrides = swift_utils.config_true_value(config_overrides)
    self.default_domain_id = conf.get('default_domain_id', 'default')
    self.allow_names_in_acls = swift_utils.config_true_value(conf.get('allow_names_in_acls', 'true'))

dataset/ETHPy150Open openstack/swift/swift/common/middleware/keystoneauth.py KeystoneAuth.__init__/VarMisuse@114/176 `self`->`app`