summaryrefslogtreecommitdiff
path: root/voctocore/lib/response.py
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-09-02 15:08:49 +0200
committerMaZderMind <git@mazdermind.de>2015-09-02 15:08:49 +0200
commitc61fe2b667079168387376da1c09823967476b21 (patch)
tree4e281f520c228b0525df403706903962d6c84da9 /voctocore/lib/response.py
parent46aace37db5c035a6d6b432db261dc7c417456f4 (diff)
refactor commands and notify code
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