diff options
author | Alice Ferrazzi <alicef@gentoo.org> | 2017-07-15 23:29:34 +0900 |
---|---|---|
committer | Alice Ferrazzi <alicef@gentoo.org> | 2017-07-15 23:29:34 +0900 |
commit | 2322079f7346955da9a5aa10abde12e605ae5907 (patch) | |
tree | bcbbf333d4eee4d2a25e43a2cfb3c1d94b01a5c6 /elivepatch_client/client/restful.py | |
parent | moving uuid functions to the client as RFC 4122 (diff) | |
download | elivepatch-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.py | 4 |
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 |