def dumb_property_dict(style):
    """returns a hash of css attributes"""
    return dict([(x.strip(), y.strip()) for x, y in [z.split(':', 1) for z in style.split(';') if z in ':']])
dataset/ETHPy150Open lsaffre/lino/lino/utils/html2text.py/dumb_property_dict/swapped operands of `in`