Commit b87ee98f authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Migrate lib/luxi.py from constants to pathutils



File system paths moved from constants to pathutils.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent e2b4a7ba
...@@ -40,6 +40,7 @@ from ganeti import constants ...@@ -40,6 +40,7 @@ from ganeti import constants
from ganeti import errors from ganeti import errors
from ganeti import utils from ganeti import utils
from ganeti import objects from ganeti import objects
from ganeti import pathutils
KEY_METHOD = "method" KEY_METHOD = "method"
...@@ -412,7 +413,7 @@ class Client(object): ...@@ -412,7 +413,7 @@ class Client(object):
""" """
if address is None: if address is None:
address = constants.MASTER_SOCKET address = pathutils.MASTER_SOCKET
self.address = address self.address = address
self.timeouts = timeouts self.timeouts = timeouts
self.transport_class = transport self.transport_class = transport
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment