Changeset 2402:da8a8a0a06de in livinglogic.python.xist

Show
Ignore:
Timestamp:
06/24/05 16:29:48 (15 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Remove list as a baseclass for ll.xist.xsc.Context.

Update w3m argument (-S seems to be -s now).

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • MIGRATION.xml

    r2400 r2402  
    99the <module>ll</module> package/module, i.e. you have to use 
    1010<function>ll.first</function> instead of <function>ll.xist.xfind.first</function>.</par> 
     11 
     12<item><class>ll.xist.Context</class> now longer subclasses <class>list</class>. 
     13If you need a stack for your context, simply use a list attribute your 
     14context class constructor.</item> 
    1115 
    1216</section> 
  • NEWS.xml

    r2400 r2402  
    1414<item>The function <function>ToNode</function> has been renamed to 
    1515<function>tonode</function>.</item> 
     16 
     17<item><class>ll.xist.Context</class> now longer subclasses <class>list</class>.</item> 
    1618</ulist> 
    1719</section> 
  • _xist/xsc.py

    r2395 r2402  
    247247### 
    248248 
    249 class Context(Base, list): 
     249class Context(Base): 
    250250    """ 
    251251    <par>This is an empty class, that can be used by the 
     
    852852            options.append("-M") 
    853853        if squeezeBlankLines: 
    854             options.append("-S") 
     854            options.append("-s") 
    855855        if lineNumbers: 
    856856            options.append("-num")