From c3bde999c113b2b060e16659c47c2bcb7f8d7e5d Mon Sep 17 00:00:00 2001 From: Wookey Date: Tue, 2 Jul 2013 00:47:42 +0100 Subject: [PATCH] Don't explode if a master survex file is not found for a directory - that shouldn't cause total failure to read the database in. --- core/views_survex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/views_survex.py b/core/views_survex.py index 95bdc70..cf3b556 100644 --- a/core/views_survex.py +++ b/core/views_survex.py @@ -245,7 +245,7 @@ def identifycavedircontents(gcavedir): else: assert re.match(".*?(?:.3d|.log|.err|.txt|.tmp|.diff|.e?spec|~)$", f), (gcavedir, f) subsvx.sort() - assert primesvx, (gcavedir, subsvx) + #assert primesvx, (gcavedir, subsvx) if primesvx: subsvx.insert(0, primesvx) return subdirs, subsvx