[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_python



On mer, 2004-07-21 at 14:41 +0200, Igor Stroh wrote:

> my AM pointed me at a possible error source in dh_python:
> the code in prerm skeleton[1] tries to delete all *.py[c|o] files
> of the appropriate package using xargs. The command used
> here might fail if the path of this file contains whitespaces.
> I mean I can hardly imagine a situation where a python
> package would contain blanks (and blanks in module names
> wouldn't work anyway)...
> 
> Can anyone think of an example where whitespaces in
> package's paths would be valid?

This is not possible in the python directories (/usr/lib/python2.x/site-
packages). However, if the packages ships .py files in a directory
containing whitespaces and uses them, it is true that dh_python is
likely to fail. My opinion is that shipping files in such directories is
a bad idea anyway, but it's true the script could be improved.

Regards,
-- 
Josselin Mouette                  /\./\
                                                 pouet
                                                     pouet
« Sans puissance, la maîtrise n'est rien. »

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: