summaryrefslogtreecommitdiff
path: root/indra/lib
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2019-09-16 12:50:30 -0400
committerOz Linden <oz@lindenlab.com>2019-09-16 12:50:30 -0400
commit296480d552e36f6aae9d94129386d984781da2ef (patch)
tree2037521615b1ca88a40c6a5462e91883032bce3e /indra/lib
parente241670694959833feaa0e667222b337095eb683 (diff)
SL-11598: viewer_manifest.py should fail if a viewer file is missing
Diffstat (limited to 'indra/lib')
-rwxr-xr-xindra/lib/python/indra/util/llmanifest.py3
1 files changed, 2 insertions, 1 deletions
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