Unbroke setup.py
authorArmin Ronacher <armin.ronacher@active-4.com>
Wed, 18 Aug 2010 09:14:28 +0000 (11:14 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Wed, 18 Aug 2010 09:14:28 +0000 (11:14 +0200)
--HG--
branch : trunk

setup.py

index 377a1c3a70beeed691910f886d4b3f769c2a1c8c..698934f3f326fdcb035acdf97e54bd8502254c1c 100644 (file)
--- 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'