# HG changeset patch
# User Oleg Oshmyan <chortos@inbox.lv>
# Date 1308358655 -3600
# Node ID 161d78f52cc3eb7a5f0bbced070356e37cffa83a
# Parent  8fa35d757cb0613354ef362ad691ed19c4c6032a
Fixed crashing on callable values of the tester conf. var.

diff -r 8fa35d757cb0 -r 161d78f52cc3 upreckon/config.py
--- a/upreckon/config.py	Sat Jun 11 20:12:26 2011 +0100
+++ b/upreckon/config.py	Sat Jun 18 01:57:35 2011 +0100
@@ -172,7 +172,7 @@
 	if module.tester:
 		if isinstance(module.tester, basestring):
 			module.tester = nativize_path(module.tester)
-		else:
+		elif not callable(module.tester):
 			tester = tuple(module.tester)
 			module.tester = (nativize_path(tester[0]),) + tester[1:]
 	for name in 'pointmap', 'groupweight':