# HG changeset patch # User Oleg Oshmyan # Date 1291556064 -3600 # Node ID af9c45708987e591acc443858f02b10469230005 # Parent 2b459f9743b40b3f36dd2d8fca61a3eb2a3d1ca8 Cemented a decision previously being unsure about The mere presense of the tasknames configuration variable now always makes problem names to be printed. This is not new, but the old behaviour (only printing names if we test more than one problem), previously commented out, has now been removed altogether. diff -r 2b459f9743b4 -r af9c45708987 2.00/test-svn.py --- a/2.00/test-svn.py Fri Dec 03 02:46:06 2010 +0000 +++ b/2.00/test-svn.py Sun Dec 05 14:34:24 2010 +0100 @@ -110,27 +110,7 @@ globalconf.tasknames = os.path.curdir, else: globalconf.multiproblem = True - # TODO: erase the commented part? if it has a tasknames variable, it is by definition multi-problem shouldprintnames = True - # try: - # shouldprintnames = len(globalconf.tasknames) > 1 - # except Exception: - # # Try to retrieve the first two problem names and cache them on success - # globalconf.tasknames = iter(globalconf.tasknames) - # try: - # first = next(globalconf.tasknames) - # except StopIteration: - # globalconf.tasknames = () - # shouldprintnames = False - # else: - # try: - # second = next(globalconf.tasknames) - # except StopIteration: - # globalconf.tasknames = first, - # shouldprintnames = False - # else: - # globalconf.tasknames = itertools.chain((first, second), globalconf.tasknames) - # shouldprintnames = True ntasks = 0 nfulltasks = 0