diff options
author | 2017-08-14 18:46:47 +0900 | |
---|---|---|
committer | 2017-08-14 18:46:47 +0900 | |
commit | 56c1604c97b02f1e1e6979193b0a7e6fc8b0567c (patch) | |
tree | 3d0451faa256525b7261cd02fc59a7c156e867f8 | |
parent | command is just a local function so refactoring the name (diff) | |
download | elivepatch-56c1604c97b02f1e1e6979193b0a7e6fc8b0567c.tar.gz elivepatch-56c1604c97b02f1e1e6979193b0a7e6fc8b0567c.tar.bz2 elivepatch-56c1604c97b02f1e1e6979193b0a7e6fc8b0567c.zip |
remove deprecated function
-rw-r--r-- | elivepatch_server/resources/dispatcher.py | 21 |
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 |