From: Chris H. <chr...@gm...> - 2002-09-13 17:59:28
|
On Fri, Sep 13, 2002 at 05:32:15PM +0100, Simon Hyde wrote: > however, since (I believe, I've never written/read python b4) a regular > expression check, and '.' matches anything in a regular expression the > /../ is actually picking up on any directory of 2 characters. This is > causing a request to be rejected if you try to install packages with a 2 > char name (such as 'bc' and 'dc'), changing that line to instead read: >=20 > if re.search('/\.\./', self.uri): >=20 > seems to resolve the problem. Yes, you're right! Thanks for spotting that; I've checked the change into CVS. Chris |