comparison upreckon/problem.py @ 149:a1286da36d29

Small clean-up
author Oleg Oshmyan <chortos@inbox.lv>
date Thu, 02 Jun 2011 14:25:23 +0100
parents d5b6708c1955
children a55a1e00e121
comparison
equal deleted inserted replaced
148:aa343ff41c27 149:a1286da36d29
249 prob.config.tests = tuple(prob.config.tests) 249 prob.config.tests = tuple(prob.config.tests)
250 250
251 if options.legacy: 251 if options.legacy:
252 prob.config.usegroups = False 252 prob.config.usegroups = False
253 newtests = [] 253 newtests = []
254 for i, name in enumerate(prob.config.tests): 254 for name in prob.config.tests:
255 # Same here; we'll need to iterate over them twice 255 # Same here; we'll need to iterate over them twice
256 try: 256 try:
257 l = len(name) 257 l = len(name)
258 except Exception: 258 except Exception:
259 try: 259 try: