On Wed, Oct 15, 2003 at 12:41:11PM +1000, Martin Michlmayr wrote:

> * James Troup <[EMAIL PROTECTED]> [2003-10-14 18:57]:
> > | >>> apt_pkg.ParseSrcDepends('foo[i386]');
> > | [[('foo[i386]', '', '')]]
>           ^^^^^^^
> > | >>> apt_pkg.ParseSrcDepends('foo [i386 alpha]');
> > | [[('foo', '', '')]]
>           ^^^
> This looks wrong too, no?

Yes, in the first case it's bogus but parses successfully because the
foo[i386] becomes one token (hmm...brackets shouldn't be valid in the
package name...).

-- 
 - mdz

Reply via email to