

def tokenify(cmd, token=None):
    "\n    If token is not None Then assign token to 'token' key of dict cmd and return cmd\n    Otherwise return cmd\n    "
    if (token is not None):
        token['token'] = token
    return cmd

dataset/ETHPy150Open saltstack/halite/halite/server_bottle.py tokenify/VarMisuse@26/78 `cmd`->`token`