[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Zbyszek Szmek] Bug#602076: python-speechd: speechd_config module runs c
From: |
Boris Dusek |
Subject: |
[Zbyszek Szmek] Bug#602076: python-speechd: speechd_config module runs code on import which breaks pydoc |
Date: |
Wed, 3 Nov 2010 10:18:01 +0100 |
Hello Milan,
please see
https://bugs.launchpad.net/ubuntu/+source/speech-dispatcher/+bug/534190
for a discussion of this issue in Ubuntu including a proper patch that is in
0.7.1 and contains
the git commit SHA that introduced it into SD. I am sorry I did not send the
patch to Debian
after it was accepted in Ubuntu. I sent it only to SD for inclusion into 0.7.1.
Best regards,
Boris Dusek
On Nov 2, 2010, at 12:17 PM, Milan Zamazal wrote:
> Bug report from a Debian user:
>
> ...
>
> Package: python-speechd
> Version: 0.7-5.1
> Severity: normal
>
> At the end of /usr/share/pyshared/speechd_config/config.py the snippet
> if __name__ == "__main__":
> sys.exit(main())
> else:
> main()
> causes the main function to be run e.g. when pydoc is used on the module.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.freebsoft.org/pipermail/speechd/attachments/20101103/c8fbabbf/attachment.htm>