Fix whitespace issues
Change-Id: I7c96843996f4847f9e15022f1dc6cd85e8a092f7
diff --git a/TestON/core/jsonparser.py b/TestON/core/jsonparser.py
index fea797a..c33a9b0 100644
--- a/TestON/core/jsonparser.py
+++ b/TestON/core/jsonparser.py
@@ -1,7 +1,7 @@
#/usr/bin/env python
'''
Created on 07-Jan-2013
-
+
@author: Raghav Kashyap(raghavkashyap@paxterrasolutions.com)
TestON is free software: you can redistribute it and/or modify
@@ -16,7 +16,7 @@
You should have received a copy of the GNU General Public License
- along with TestON. If not, see <http://www.gnu.org/licenses/>.
+ along with TestON. If not, see <http://www.gnu.org/licenses/>.
'''
@@ -24,7 +24,7 @@
import json
class JsonParser:
'''
- Module that parses the response Json to Dictionary and Vice versa.
+ Module that parses the response Json to Dictionary and Vice versa.
'''
def __init__(self) :
self.default = ''
@@ -38,18 +38,18 @@
response_dict = json.loads(json_response)
except Exception:
main.log.error("Json Parser is unable to parse the string")
- return response_dict
-
+ return response_dict
+
'''
-
+
def dict_json(self,response_dict):
-
+
# This will parse the Python Dictionary and return content as Json string.
-
+
json_response = {}
try :
json_response = json.dumps(response_dict)
except Exception:
main.log.error("Json Parser is unable to parse the string")
- return json_response
+ return json_response
'''