[Libreoffice-bugs] [Bug 128463] New undocumented and faulty Python scripts

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Oct 26 01:19:48 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=128463

Kevin Suo <suokunlong at 126.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |suokunlong at 126.com

--- Comment #2 from Kevin Suo <suokunlong at 126.com> ---
I have already made some improvements to the example python scripts, in the
following commit:

commit  5fb0e0f68bc9d37d43e0782b903919630852904c
Improve example python code in scripting.
* Modified the code to be more pythonic.
* If "len(theString) == 0", then "not theString" evaluates to True.
* "theString[0].isupper()" and "theString[1].isupper()" can be combined.
* Remove unused imported string module
* Wrap long lines
* run autopep8 to prettify
* ...

Also, SetCellColor.py is updated to actually do something (instead of showing
an exception), in the following patch in gerrit awaiting for review:
https://gerrit.libreoffice.org/c/core/+/104720

By the way, what is a "parcel-descriptor file" and how can I create it?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201026/e2dc22f7/attachment.htm>


More information about the Libreoffice-bugs mailing list