# HG changeset patch # User Oleg Oshmyan # Date 1308362045 -3600 # Node ID 35d59ba0e27ca60c2fddfd44fc7767ad3e72e213 # Parent e0b2fbd7ebe0ea337c9fbd4cfaa5f7fdc516f969 Fixed crashing on callable values of the tester conf. var. diff -r e0b2fbd7ebe0 -r 35d59ba0e27c upreckon/config.py --- a/upreckon/config.py Sat Jun 18 02:55:17 2011 +0100 +++ b/upreckon/config.py Sat Jun 18 02:54:05 2011 +0100 @@ -173,7 +173,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':