Mercurial > ~astiob > upreckon > hgweb
diff upreckon-vcs @ 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 | 37c4ad87583c |
line wrap: on
line diff
--- a/upreckon-vcs Thu Jan 13 19:48:33 2011 +0200 +++ b/upreckon-vcs Mon Jan 17 11:11:01 2011 +0000 @@ -113,10 +113,10 @@ import_error(sys.exc_info()[1]) # Support single-problem configurations - if globalconf.tasknames is None: + if globalconf.problems is None: shouldprintnames = False globalconf.multiproblem = False - globalconf.tasknames = os.path.curdir, + globalconf.problems = os.path.curdir, else: globalconf.multiproblem = True shouldprintnames = True @@ -126,7 +126,7 @@ maxscore = 0 realscore = 0 - for taskname in (globalconf.tasknames if not options.problems else options.problems): + for taskname in (globalconf.problems if not options.problems else options.problems): problem = Problem(taskname) if ntasks and not options.copyonly: say()