* Martin Michlmayr <[EMAIL PROTECTED]> [2006-01-23 12:11]:
> +        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.

-- 
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