From aa1f339d23d2c0cd04306043cc7faa0b112ce7ea Mon Sep 17 00:00:00 2001 From: "Seth M. Larson" Date: Wed, 26 Apr 2017 15:11:18 -0500 Subject: [PATCH] Don't print out error arguments on Windows --- virtualbox/library_base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/virtualbox/library_base.py b/virtualbox/library_base.py index 00494cf..b3eab1a 100644 --- a/virtualbox/library_base.py +++ b/virtualbox/library_base.py @@ -189,7 +189,6 @@ def _call_method(self, method, in_p=[]): errobj.msg = None if platform.system() == 'Windows': if hasattr(exc, 'args'): - print(exc.args) errobj.msg = exc.args[2][2] # TODO: get the Linux/Darwin specific args struct