def SetAclExceptionHandler(cls, e):
  cls.logger.error(str(e))
  cls.everything_set_okay = False

# We will keep this list of all thread- or process-safe queues ever created by
# the main thread so that we can forcefully kill them upon shutdown. Otherwise,
# we encounter a Python bug in which empty queues block forever on join (which
# is called as part of the Python exit function cleanup) under the impression
# that they are non-empty.
# However, this also lets us shut down somewhat more cleanly when interrupted.
Exception handler that maintains state about post-completion status.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/command.py/SetAclExceptionHandler