From 296480d552e36f6aae9d94129386d984781da2ef Mon Sep 17 00:00:00 2001 From: Oz Linden Date: Mon, 16 Sep 2019 12:50:30 -0400 Subject: SL-11598: viewer_manifest.py should fail if a viewer file is missing --- indra/lib/python/indra/util/llmanifest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/lib') diff --git a/indra/lib/python/indra/util/llmanifest.py b/indra/lib/python/indra/util/llmanifest.py index 2e6cf53912..57788f6099 100755 --- a/indra/lib/python/indra/util/llmanifest.py +++ b/indra/lib/python/indra/util/llmanifest.py @@ -835,7 +835,8 @@ class LLManifest(object): tried.append(pfx) if not try_prefixes: # no more prefixes left to try - print "unable to find '%s'; looked in:\n %s" % (src, '\n '.join(tried)) + raise MissingError("unable to find '%s'; looked in:\n %s" % (src, '\n '.join(tried))) + print "%d files" % count # Let caller check whether we processed as many files as expected. In -- cgit v1.2.3