summaryrefslogtreecommitdiff
path: root/voctocore/lib/response.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/lib/response.py')
-rw-r--r--voctocore/lib/response.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/voctocore/lib/response.py b/voctocore/lib/response.py
new file mode 100644
index 0000000..866d5f2
--- /dev/null
+++ b/voctocore/lib/response.py
@@ -0,0 +1,15 @@
+#!/usr/bin/python3
+
+class Response(object):
+ def __init__(self, *args):
+ self.args = args
+
+ def __str__(self):
+ return " ".join(map(str, self.args))
+
+
+class OkResponse(Response):
+ pass
+
+class NotifyResponse(Response):
+ pass