summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@cohens.org.il>2016-09-25 20:28:40 +0300
committerTzafrir Cohen <tzafrir@cohens.org.il>2016-09-25 20:28:40 +0300
commitfa107061d3d8f3decf12120ba2f4ebed1e78218a (patch)
treeb07d2a56f0b9c0d606336bf51f4e1126bee02206 /libs
parent6503c222d1c2145f32d9678157a9659b70a12c83 (diff)
Use UNIX line endings
Diffstat (limited to 'libs')
-rw-r--r--libs/json_tools.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/libs/json_tools.py b/libs/json_tools.py
index 9ce19b0..5e78d23 100644
--- a/libs/json_tools.py
+++ b/libs/json_tools.py
@@ -1,9 +1,9 @@
-import json
-
-
-class JsonSerializable(object):
- def __repr__(self):
- return str(self.to_json())
-
- def to_json(self):
- return json.dumps(self.__dict__, ensure_ascii=False)
+import json
+
+
+class JsonSerializable(object):
+ def __repr__(self):
+ return str(self.to_json())
+
+ def to_json(self):
+ return json.dumps(self.__dict__, ensure_ascii=False)