changeset 40:af9c45708987

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.
author Oleg Oshmyan <chortos@inbox.lv>
date Sun, 05 Dec 2010 14:34:24 +0100
parents 2b459f9743b4
children 164395af969d
files 2.00/test-svn.py
diffstat 1 files changed, 0 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- 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