On Wed, Aug 07, 2013 at 09:03:12AM +0200, Xiaoli Duan <duan19002009@gmail.com> wrote:
I added multi line comment with triple quoted to Writer python test file and then run test. I sent you the file 'check_table.py' (dir path: /sw/qa/python) and test results in file 'python_fail'. I my opinion LO Python should handle that strings but something is wrong. Please see: http://stackoverflow.com/questions/7696924/multiline-comments-in-python ... # get anchor xAnchor = xTable.getAnchor() ''' check all properties on the anchor - shouldn't crash despite pointing to a non-SwTxtNode ''' xPropsInfo = xAnchor.getPropertySetInfo()
Looks like you got indenting wrong here: use the same amount of spaces before ''' as you use for xAnchor / xPropsInfo, that should help. Miklos
Attachment:
signature.asc
Description: Digital signature