def shutdown(self, exitcode=0, exitmsg=None):
        log.info('The salt-api is shutting down..')
        msg = 'The salt-api is shutdown. '
        if exitmsg is not None:
            exitmsg = msg + exitmsg
        else:
            exitmsg = msg.strip()
        super(SaltAPI, self).shutdown(exitcode, exitmsg)
Merge two deep dicts non-destructively
dataset/ETHPy150Open saltstack/salt/salt/cli/api.py/SaltAPI.shutdown--crossover with--dataset/ETHPy150Open basho/riak-python-client/riak/util.py/deep_merge