Bug#559236: python-asterisk: fails to detect the configuration in $HOME
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sun Dec 13 12:48:26 UTC 2009
On Thu, Dec 03, 2009 at 12:58:13AM +0100, Bernd Zeimetz wrote:
> Package: python-asterisk
> Version: 0.1a3+r160-4
> Severity: important
> Tags: patch
>
> In /usr/share/python-support/python-asterisk/Asterisk/Config.py the
> following lines are used in CONFIG_PATHNAMES:
>
> os.path.join(os.environ.get('HOME', ''), '/.py-asterisk.conf'),
> os.path.join(os.environ.get('USERPROFILE', ''), '/py-asterisk.conf'),
>
> which results in /.py-asterisk.conf and /py-asterisk.conf
> being added to the search path. Instead the following should be used:
>
> os.path.join(os.environ.get('HOME', ''), '.py-asterisk.conf'),
> os.path.join(os.environ.get('USERPROFILE', ''), 'py-asterisk.conf'),
Applied in upstream rev. 174 .
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the Pkg-voip-maintainers
mailing list