From a2f7728341956963c6088c7ba5076da0b9c1e6dd Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Tue, 13 May 2003 17:56:07 +0000 Subject: Prevent script from allowing '-r12' --- Tools/scripts/ndiff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/scripts/ndiff.py b/Tools/scripts/ndiff.py index 6f0f9a9..f399338 100755 --- a/Tools/scripts/ndiff.py +++ b/Tools/scripts/ndiff.py @@ -101,7 +101,7 @@ def main(args): if rseen: if args: return fail("no args allowed with -r option") - if whichfile in "12": + if whichfile in ("1", "2"): restore(whichfile) return 1 return fail("-r value must be 1 or 2") -- cgit v0.12