Menu

#206 errors is wrong type in restructuredtext.py

devel (cvs)
closed-fixed
nobody
5
2007-07-11
2007-06-16
Alan Trick
No

In markup/restructuredtext.py the _SplitFieldsTranslator is created with the instance variable set to None. It should be a list and this causes it to die* when it tries to append an error message later on.

The fix is simple, on line 166, change errors=None to errors=[]

* the exact exception is: AttributeError: 'NoneType' object has no attribute 'append'

Discussion

  • Daniele Varrazzo

    Logged In: YES
    user_id=1053920
    Originator: NO

    Fixed in r1596

     
  • Daniele Varrazzo

    • status: open --> closed-fixed
     

Log in to post a comment.