aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'elivepatch_server/resources/dispatcher.py')
-rw-r--r--elivepatch_server/resources/dispatcher.py21
1 files changed, 1 insertions, 20 deletions
diff --git a/elivepatch_server/resources/dispatcher.py b/elivepatch_server/resources/dispatcher.py
index dbe9af4..9a7580c 100644
--- a/elivepatch_server/resources/dispatcher.py
+++ b/elivepatch_server/resources/dispatcher.py
@@ -168,23 +168,4 @@ class GetFiles(Resource):
'KernelVersion': None,
'UUID' : args['UUID']
}
- return {'get_config': marshal(pack, pack_fields)}, 201
-
-
-class GetID(Resource):
-
- def __init__(self):
- self.reqparse = reqparse.RequestParser()
- self.reqparse.add_argument('UUID', type=str, required=False,
- help='No task title provided',
- location='json')
- super(GetID, self).__init__()
- pass
-
- def get(self):
- return make_response(jsonify({'message': 'These are not the \
- patches you are looking for'}), 403)
-
- def post(self):
- args = self.reqparse.parse_args()
- print("get ID: " + str(args))
+ return {'get_config': marshal(pack, pack_fields)}, 201 \ No newline at end of file