* Martin Michlmayr <[EMAIL PROTECTED]> [2006-01-23 12:34]:
> > +        if a in dirs and (not b or (a == "%y" and int(b) in (-1, 0))):
> Actually, make this line:
> > +        if a in dirs and (not b or (a == "%y" and b in ("-1", "0"))):
> because users can pass random crap that's not an integer via -Y.

Actually, no, they cannot.  jack checks for this:

10534:[EMAIL PROTECTED]: ~/tmp/jack] jack -Q -Y xx
This is jack 3.1.1 (C)2004 Arne Zellentin <[EMAIL PROTECTED]>
 *error* option `id3_year' needs an integer argument

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to