Mercurial > ~astiob > upreckon > hgweb
changeset 175:35d59ba0e27c
Fixed crashing on callable values of the tester conf. var.
| author | Oleg Oshmyan <chortos@inbox.lv> | 
|---|---|
| date | Sat, 18 Jun 2011 02:54:05 +0100 | 
| parents | e0b2fbd7ebe0 | 
| children | 88e1e6786f67 | 
| files | upreckon/config.py | 
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] | 
line wrap: on
 line diff
--- 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':
