diff --git a/indra/lib/python/indra/util/llmanifest.py b/indra/lib/python/indra/util/llmanifest.py index e035b8fd7f4fbab1b435e14a9ed46970cdcd4eec..d4e61aedd145b31bd37278130cfecf5cf56d70a2 100755 --- a/indra/lib/python/indra/util/llmanifest.py +++ b/indra/lib/python/indra/util/llmanifest.py @@ -49,9 +49,7 @@ def __init__(self, msg): class MissingError(ManifestError): """You specified a file that doesn't exist""" - def __init__(self, msg): - self.msg = msg - super(MissingError, self).__init__(self.msg) + pass def path_ancestors(path): drive, path = os.path.splitdrive(os.path.normpath(path)) @@ -316,7 +314,7 @@ def main(): try: wm = LLManifest.for_platform(args['platform'], args.get('arch'))(args) wm.do(*args['actions']) - except ManifestError as err: + except Exception as err: sys.exit(str(err)) if touch: print 'Created additional package ', wm.package_file, ' for ', package_id