- url
LOGGER.debug("Trying to get bucket option")
LOGGER.debug("s3.nothing -> %s" % get_option("s3.nothing"))
import sys
sys.exit(-1)
After Change
region = ("storage.s3.region" , "s3.region" ),
)
try:
new_option, old_option = s3_option_table[option]
LOGGER.debug(f"Getting option "{option}" which maps to "{new_option}" or "{old_option}".")
except KeyError:
raise RuntimeError("S3 Option "%s" not recognized." % option)
if get_option(new_option) is not None: