Ensure Volshell doesn't try to output after exiting.

This commit is contained in:
Mike Auty
2019-09-16 00:59:35 +01:00
parent 5b5a7b3966
commit cc393c956a
+1 -1
View File
@@ -214,7 +214,7 @@ class VolShell(cli.CommandLine):
json.dump(dict(constructed.build_configuration()), f, sort_keys = True, indent = 2)
# Construct and run the plugin
text_renderer.QuickTextRenderer().render(constructed.run())
constructed.run()
except exceptions.UnsatisfiedException as excp:
self.process_exceptions(excp)
parser.exit(1, "Unable to validate the plugin requirements: {}\n".format([x for x in excp.unsatisfied]))