def convertListToDic(l):
    """Takes a list of strings such as "'1:2', 'a:b'" and returns
    a dictionary.
    """
    d = {}
    for item in l:
        isplit = item.split(':')
        d[isplit[0]] = isplit[1]
    return d
