Package: pyxdg
Severity: normal
Two precisions. First, I hope I chose the right severity for the bug;
it seems to me that not respecting the spec in this sem-corner
case is really bad for the official XDG Python package.
Second, I changed os.getenv('HOME') to os.path.expanduser('~')
because $HOME is not guaranteed to work in every situation,
whereas getent (in shell) and expanduser (in Python) are. I can’t
remember where I read a vert good explanation about this, but I
hope you’ll concur.
Regards
-- System Information:
Debian Release: squeeze
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team