regtest/backends/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 12c6239ca4f1f6a5de72aebd755f9d1354ea5837 Author: Carlos Garcia Campos <[email protected]> Date: Sun Sep 18 11:08:06 2011 +0200 regtest: Fix checksum check for tests containing spaces in filename diff --git a/regtest/backends/__init__.py b/regtest/backends/__init__.py index ed728ff..de8b3ec 100644 --- a/regtest/backends/__init__.py +++ b/regtest/backends/__init__.py @@ -62,7 +62,7 @@ class Backend: tests = os.listdir(out_path) for line in md5_file.readlines(): - md5sum, ref_path = line.strip('\n').split(' ') + md5sum, ref_path = line.strip('\n').split(' ', 1) basename = os.path.basename(ref_path) if not basename in tests: retval = False _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
