Changeset 3102:cfd311a44adf in livinglogic.python.xist

Show
Ignore:
Timestamp:
01/04/08 12:44:47 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Selector lists are iterable now in cssutils 0.9.4b1.

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • setup.py

    r3061 r3102  
    8585    install_requires=[ 
    8686        "ll-core >= 1.11", 
    87         "cssutils == 0.9.4a3", 
     87        "cssutils == 0.9.4b1", 
    8888    ], 
    8989    namespace_packages=["ll"], 
  • src/ll/xist/css.py

    r3093 r3102  
    169169    rules = [] 
    170170    for (i, rule) in enumerate(iterrules(node, base=base, media=media)): 
    171         for sel in rule.selectorList.seq: 
     171        for sel in rule.selectorList: 
    172172            sel = selector(sel) 
    173173            rules.append((sel.cssweight(), sel, rule.style))