diff options
author | Alice Ferrazzi <alicef@gentoo.org> | 2017-07-05 00:48:29 +0000 |
---|---|---|
committer | Alice Ferrazzi <alicef@gentoo.org> | 2017-07-05 00:48:29 +0000 |
commit | 2f1c2730196fa6c9e333c9076cf41510a8c4158a (patch) | |
tree | ce6e1a7f5a80dc7889eeb561e932a1d0970fc583 | |
parent | receiving and sending the userid and resending same userid if already (diff) | |
download | elivepatch-2f1c2730196fa6c9e333c9076cf41510a8c4158a.tar.gz elivepatch-2f1c2730196fa6c9e333c9076cf41510a8c4158a.tar.bz2 elivepatch-2f1c2730196fa6c9e333c9076cf41510a8c4158a.zip |
small changes
-rw-r--r-- | elivepatch_server/resources/dispatcher.py | 4 | ||||
-rw-r--r-- | elivepatch_server/resources/livepatch.py | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/elivepatch_server/resources/dispatcher.py b/elivepatch_server/resources/dispatcher.py index bcbdaa1..bdcecb9 100644 --- a/elivepatch_server/resources/dispatcher.py +++ b/elivepatch_server/resources/dispatcher.py @@ -143,7 +143,7 @@ class GetConfig(Resource): def post(self): args = self.reqparse.parse_args() - print("json get config: " + str(args)) + #print("json get config: " + str(args)) if not args['UserID']: args['UserID'] = str(id_generate()) else: @@ -152,7 +152,7 @@ class GetConfig(Resource): parse.add_argument('file', type=werkzeug.datastructures.FileStorage, location='files') file_args = parse.parse_args() - print("file get config: " + str(file_args)) + #print("file get config: " + str(file_args)) configFile = file_args['file'] configFile_name = file_args['file'].filename diff --git a/elivepatch_server/resources/livepatch.py b/elivepatch_server/resources/livepatch.py index bd919d3..c2bc5ce 100644 --- a/elivepatch_server/resources/livepatch.py +++ b/elivepatch_server/resources/livepatch.py @@ -7,6 +7,7 @@ import subprocess import os + class PaTch(object): def __init__(self): @@ -64,7 +65,7 @@ class PaTch(object): pass def get_kernel_source_path(self): - self.kernel_path ='' + self.kernel_path = '' return self.kernel_path # kpatch-build/kpatch-build -s /usr/src/linux-4.9.16-gentoo/ |