diff 2.00/files.py @ 23:c1f52b5d80d6

Compatibility and bug fixes -1 command line option added (currently only detects the presence of test groups). The ansname configuration variable is now (again) optional when output validators are used. Bug fix: path realization only looked at paths beginning with tests/. Bug fix: non-reiterable values of the tests configuration variable are now handled correctly. Bug fix: an exceptions was raised if a problem had no test cases.
author Oleg Oshmyan <chortos@inbox.lv>
date Wed, 22 Sep 2010 23:34:51 +0000
parents ec6f1a132109
children fe1463e7e24d
line wrap: on
line diff
--- a/2.00/files.py	Wed Sep 22 22:01:56 2010 +0000
+++ b/2.00/files.py	Wed Sep 22 23:34:51 2010 +0000
@@ -196,7 +196,7 @@
 					if os.path.exists(path):
 						if self.realize_path_archive(open_archive(path), '', virtpath, path):
 							return True
-			elif self.realize_path(root, virtpath[1:], allow_root, hastests):
+			if self.realize_path(root, virtpath[1:], allow_root, hastests):
 				return True
 		else:
 			if not hastests: