Mercurial > ~astiob > upreckon > hgweb
diff config.py @ 79:ee8a99dcaaed
Renamed configuration variable tasknames to problems
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Mon, 17 Jan 2011 11:11:01 +0000 |
parents | d46bd7ee3e69 |
children | 06356af50bf9 |
line wrap: on
line diff
--- a/config.py Thu Jan 13 19:48:33 2011 +0200 +++ b/config.py Mon Jan 17 11:11:01 2011 +0000 @@ -42,7 +42,7 @@ 'maxexitcode': 0, 'inname': '', 'ansname': ''} -defaults_global = {'tasknames': None, +defaults_global = {'problems': None, 'force_zero_exitcode': True} defaults_noerase = {'inname': '%.in', 'outname': '%.out', @@ -194,6 +194,8 @@ if not options.erase: for name in defaults_noerase: setattr(module, name, getattr(module, name, defaults_noerase[name])) + if hasattr(module, 'tasknames'): + module.problems = module.tasknames global globalconf globalconf = module sys.dont_write_bytecode = dwb