Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.