forked from expo/troggle
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:
parent
ea9266ecf9
commit
7eb4c89bf0
@ -245,7 +245,7 @@ def identifycavedircontents(gcavedir):
|
|||||||
else:
|
else:
|
||||||
assert re.match(".*?(?:.3d|.log|.err|.txt|.tmp|.diff|.e?spec|~)$", f), (gcavedir, f)
|
assert re.match(".*?(?:.3d|.log|.err|.txt|.tmp|.diff|.e?spec|~)$", f), (gcavedir, f)
|
||||||
subsvx.sort()
|
subsvx.sort()
|
||||||
assert primesvx, (gcavedir, subsvx)
|
#assert primesvx, (gcavedir, subsvx)
|
||||||
if primesvx:
|
if primesvx:
|
||||||
subsvx.insert(0, primesvx)
|
subsvx.insert(0, primesvx)
|
||||||
return subdirs, subsvx
|
return subdirs, subsvx
|
||||||
|
Loading…
Reference in New Issue
Block a user