# HG changeset patch # User Oleg Oshmyan # Date 1292893684 -7200 # Node ID 7c6dba0b84f216acb879c682bc6ed0899c92bad7 # Parent 93978361c67f32cb6c10a547525441718a4cebd6 Restored support for iterable keys in the pointmap configuration variable diff -r 93978361c67f -r 7c6dba0b84f2 config.py --- a/config.py Tue Dec 21 03:05:04 2010 +0200 +++ b/config.py Tue Dec 21 03:08:04 2010 +0200 @@ -137,6 +137,14 @@ module.path = os.path.join(os.path.curdir, problem_name) else: module.path = problem_name + newpointmap = {} + for key in module.pointmap: + try: + for k in key: + newpointmap[k] = module.pointmap[key] + except TypeError: + newpointmap[key] = module.pointmap[key] + module.pointmap = newpointmap if options.no_maxtime: module.maxtime = 0 sys.dont_write_bytecode = dwb