Changeset 2875:74a35da8c49b in livinglogic.python.xist

Show
Ignore:
Timestamp:
08/10/07 16:07:44 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Adapt to cssutils r211: Selector can be accessed from cssutils.css now.

Files:
1 modified

Legend:

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

    r2874 r2875  
    2020    import cssutils 
    2121    from cssutils import css, stylesheets 
    22     from cssutils.css import selector as cssselector 
    2322except ImportError: 
    2423    cssutils = None 
     
    628627    elif isinstance(selectors, css.CSSStyleRule): 
    629628        selectors = selectors.selectorList 
    630     elif isinstance(selectors, cssselector.Selector): 
     629    elif isinstance(selectors, css.Selector): 
    631630        selectors = [selectors] 
    632631    else: