From fe22512b21959b4f5a966418ec2f98acf62eedb3 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Wed, 18 Aug 2010 11:14:28 +0200 Subject: [PATCH] Unbroke setup.py --HG-- branch : trunk --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 377a1c3..698934f 100644 --- a/setup.py +++ b/setup.py @@ -65,7 +65,7 @@ if sys.version_info >= (3, 0): # ignore the old '--with-speedups' flag try: speedups_pos = sys.argv.index('--with-speedups') -except IndexError: +except ValueError: pass else: sys.argv[speedups_pos] = '--with-debugsupport' -- 2.26.2