diff options
Diffstat (limited to 'indra/lib')
-rwxr-xr-x | indra/lib/python/indra/util/llmanifest.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/lib/python/indra/util/llmanifest.py b/indra/lib/python/indra/util/llmanifest.py index e035b8fd7f..d4e61aedd1 100755 --- a/indra/lib/python/indra/util/llmanifest.py +++ b/indra/lib/python/indra/util/llmanifest.py @@ -49,9 +49,7 @@ class ManifestError(RuntimeError): 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 |