1. Armin Ronacher
  2. jinja2-main

Commits

Armin Ronacher  committed db198f8

Unbroke setup.py

  • Participants
  • Parent commits acc51af
  • Branches trunk
  • Tags 2.5.2

Comments (0)

Files changed (1)

File setup.py

View file
 # 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'