def _parse_optmap(self, map):
        """ Internal method -> Parse option
        map containing tuples and convert the
        tuples to a dictionary """

        optmap = {}
        for key,value in map.items():
            d = {}
            for item in value:
                if not item: continue
                var,val=item.split('=')
                d[var]=val
                
            optmap[key] = d

        return optmap
 Internal method -> Parse option
        map containing tuples and convert the
        tuples to a dictionary 
recipes/Python/425345_Generic_commandline/recipe-425345.py