Changeset 2892:c743c1591630 in livinglogic.python.xist

Show
Ignore:
Timestamp:
08/21/07 14:17:23 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Avoid using deprecated cssutils properties in css.applystylesheets().

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/css.py

    r2891 r2892  
    187187                        if not isinstance(prop, css.CSSComment): 
    188188                            for value in prop: 
    189                                 styles[prop.name] = (count, prop.name, value.value) 
     189                                styles[prop.name] = (count, prop.name, value.cssValue) 
    190190                                count += 1 
    191191                    style = " ".join("%s: %s;" % (name, value) for (count, name, value) in sorted(styles.itervalues()))