try: OAS.cookie_ttl = config.COOKIETTL except AttributeError: pass try: OAS.cookie_name = config.COOKIENAME except AttributeError: pass OAS.cookie_func = http_util.make_cookie # print URLS if args.debug: OAS.debug = True if args.test: OAS.test_mode = True else: OAS.test_mode = False if args.authn_as: OAS.authn_as = args.authn_as endpoints = ENDPOINTS add_endpoints(endpoints) OAS.endpoints = endpoints if args.port == 80: OAS.baseurl = config.baseurl else: if config.baseurl.endswith("/"):