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.
This commit is contained in:
Wookey 2013-07-02 00:47:42 +01:00
parent ea9266ecf9
commit 7eb4c89bf0

View File

@ -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