aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2017-07-15 23:29:34 +0900
committerAlice Ferrazzi <alicef@gentoo.org>2017-07-15 23:29:34 +0900
commit2322079f7346955da9a5aa10abde12e605ae5907 (patch)
treebcbbf333d4eee4d2a25e43a2cfb3c1d94b01a5c6 /elivepatch_client/client/restful.py
parentmoving uuid functions to the client as RFC 4122 (diff)
downloadelivepatch-2322079f7346955da9a5aa10abde12e605ae5907.tar.gz
elivepatch-2322079f7346955da9a5aa10abde12e605ae5907.tar.bz2
elivepatch-2322079f7346955da9a5aa10abde12e605ae5907.zip
setting uuid from the client
Diffstat (limited to 'elivepatch_client/client/restful.py')
-rw-r--r--elivepatch_client/client/restful.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/elivepatch_client/client/restful.py b/elivepatch_client/client/restful.py
index 938fa5f..d8a55a0 100644
--- a/elivepatch_client/client/restful.py
+++ b/elivepatch_client/client/restful.py
@@ -14,11 +14,11 @@ class ManaGer(object):
RESTful client functions
"""
- def __init__(self, server_url, kernel_version):
+ def __init__(self, server_url, kernel_version, uuid):
self.server_url = server_url
self.kernel_version = kernel_version
# universally unique identifier for multi-threading
- self.uuid = None
+ self.uuid = uuid
def set_uuid(self, uuid):
self.uuid = uuid