summaryrefslogtreecommitdiff
path: root/CAO/Status.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2018-03-09 13:38:22 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2018-03-09 13:38:22 +0100
commit493b116f73ec3912ca7af3d6ece3434279cbcfb5 (patch)
treeb6955491311fb0d810e9de9a7dd9b8059d04a10c /CAO/Status.py
parent735bc5af0929392f27386aa3fa0c26d39f300672 (diff)
renamed the project SwiftStory
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'CAO/Status.py')
-rw-r--r--CAO/Status.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/CAO/Status.py b/CAO/Status.py
deleted file mode 100644
index 782a0b4..0000000
--- a/CAO/Status.py
+++ /dev/null
@@ -1,7 +0,0 @@
-import json
-
-def cao_error(msg, code=255):
- return json.dumps({'type': 'response', 'content': {'status': code, 'info': msg}})
-
-def cao_success(obj):
- return json.dumps({'type': 'response', 'content': {'status': 0, 'result': obj}})