def register(func, *targs, **kargs):
    if hasattr(atexit, "unregister"):
        atexit.register(func, *targs, **kargs)
    else:
        _exithandlers.append((func, targs, kargs))
    return func
Drop to warning level and down to get around gen.generate() log.info
dataset/ETHPy150Open python-zk/kazoo/kazoo/python2atexit.py/register--crossover with--dataset/ETHPy150Open dcos/dcos/ext/dcos-installer/dcos_installer/__init__.py/log_warn_only