[Libreoffice] [PATCH] Make find-german-comments exit when given soon-to-be-removed dirs

Miklos Vajna vmiklos at frugalware.org
Fri Dec 2 17:11:54 PST 2011

On Fri, Dec 02, 2011 at 11:59:41PM +0100, Philipp Weissenbacher <p.weissenbacher at gmail.com> wrote:
> This patch make f-g-c spit out an error message and quit when trying
> to execute it in core/automation or core/basic/source/app.
> I admit that it might not be that most pythonic way of doing things
> (I'm still new to the language).

Nah, but in fact now you let it exit in any directory. :)

~/git/libreoffice/master/writerfilter$ ../bin/find-german-comments 
These directories will soon be removed!
Do not bother translating comments here. Exiting now.

Did you test that case?

(Also the new glob import seems to be unused.)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111203/86185a36/attachment.pgp>

More information about the LibreOffice mailing list