OSDN Git Service

refactoring...
[ti2/ti2.git] / linkpair / linkobject.py
index 625bdad..b6f3151 100755 (executable)
@@ -2,6 +2,7 @@
 # -*- coding: utf-8 -*-
 #
 
+
 class LinkObject(object):
     DEFAULT_TYPE = 1
 
@@ -49,9 +50,10 @@ class LinkObject(object):
     def _dict_to_json(self, dict_object):
         json_strings = "{"
         for dict_key in dict_object.keys():
-            json_strings += "\"" + dict_key + "\":\"" + dict_object[dict_key] + "\","
+            json_strings += "\"" + dict_key + \
+                "\":\"" + dict_object[dict_key] + "\","
         json_strings = json_strings.rstrip(",") + "}"
         return json_strings
-        
+
     def __add__(self, label):
         return self.label + label