def getStyleAttribute(elem, attr):
    try:
        if hasattr(elem.style, 'getProperty'):
            return elem.style.getProperty(mash_name_for_glib(attr))
        return elem.style.getAttribute(attr)
    except __HOLE__:
        return getattr(elem.style, attr, None)
dataset/ETHPy150Open anandology/pyjamas/library/gwt/DOM.py/getStyleAttribute