removing string encode which doesnt seem to encode 31/32731/1 2.0.0-ONAP beijing 2.0.0-ONAP
authorDR695H <dr695h@att.com>
Fri, 23 Feb 2018 22:26:37 +0000 (17:26 -0500)
committerDR695H <dr695h@att.com>
Fri, 23 Feb 2018 22:29:37 +0000 (17:29 -0500)
Issue-ID: TEST-79

Change-Id: Ice7795a2731466119b5fcaa4ecb4bcb1c0f6d917
Signed-off-by: DR695H <dr695h@att.com>
eteutils/StringTemplater.py

index 36ddfab..43d107e 100644 (file)
@@ -3,11 +3,7 @@ from string import Template
 
 class StringTemplater:
     """StringTemplater is common resource for templating with strings."""
-    
+
     def template_string(self, template, values):
         """Template String takes in a string and its values and converts it using the string.Template class"""
-        return Template(template).substitute(values) 
-               
-    def string_Encoder(self,data):
-        data = json.dumps(data)
-        return data
\ No newline at end of file
+        return Template(template).substitute(values)
\ No newline at end of file