def _options_to_dict()

in python/bot.py [0:0]


def _options_to_dict(options):
    opts = dict()
    for option in options:
        found = re.findall(r'(\w+)=(.+?)(?= \w+=|$)', option)
        opts.update(dict(found))
        log.info("[options_to_dict] opts: {0}".format(opts))
    return opts