[lvm-devel] master - lvmdbusd: Remove debug JSON file

tasleson tasleson at fedoraproject.org
Thu Nov 17 17:46:10 UTC 2016


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=19a0bf9df61d2ad58cc1be70cf6132b57cb49c85
Commit:        19a0bf9df61d2ad58cc1be70cf6132b57cb49c85
Parent:        bd47b202fb373a93761e038afe39fb6aeee89289
Author:        Tony Asleson <tasleson at redhat.com>
AuthorDate:    Thu Nov 17 11:45:11 2016 -0600
Committer:     Tony Asleson <tasleson at redhat.com>
CommitterDate: Thu Nov 17 11:45:11 2016 -0600

lvmdbusd: Remove debug JSON file

---
 daemons/lvmdbusd/lvm_shell_proxy.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/daemons/lvmdbusd/lvm_shell_proxy.py b/daemons/lvmdbusd/lvm_shell_proxy.py
index 193c844..4ab42c5 100755
--- a/daemons/lvmdbusd/lvm_shell_proxy.py
+++ b/daemons/lvmdbusd/lvm_shell_proxy.py
@@ -229,10 +229,6 @@ class LVMShellProxy(object):
 					else:
 						error_msg = self.get_error_msg()
 			except ValueError:
-				# The json is bad?, lets dump out for debug
-				with open('/tmp/json_bad', 'w') as debug:
-					debug.write(report)
-
 				# Bubble up the invalid json.
 				error_msg = "Invalid json %s" % report
 




More information about the lvm-devel mailing list