Skip to contentSkip to conversation

master - lvmdbusd: Remove debug JSON file

PATCH tasleson 1 participant 1 message Nov 17, 2016

lore
Share & tools
lore

tasleson

author
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=19a0bf9df61d2ad58cc1be70cf6132b57cb49c85
Commit:        19a0bf9df61d2ad58cc1be70cf6132b57cb49c85
Parent:        bd47b202fb373a93761e038afe39fb6aeee89289
Author:        Tony Asleson <[email protected]>
AuthorDate:    Thu Nov 17 11:45:11 2016 -0600
Committer:     Tony Asleson <[email protected]>
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(-)
daemons/lvmdbusd/lvm_shell_proxy.py +0 -4
index 193c844..4ab42c5 100755
@@ -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