From a5c76c5d41dae48463279d8df78ef055a27f2f71 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Sun, 14 Oct 2018 22:14:29 -0400 Subject: [PATCH] Use new-style class definitions --- node-daemon/pvcd/DomainInstance.py | 2 +- node-daemon/pvcd/NodeInstance.py | 2 +- node-daemon/pvcd/VXNetworkInstance.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/node-daemon/pvcd/DomainInstance.py b/node-daemon/pvcd/DomainInstance.py index 4a9d6bc9..910f9a7e 100644 --- a/node-daemon/pvcd/DomainInstance.py +++ b/node-daemon/pvcd/DomainInstance.py @@ -32,7 +32,7 @@ import kazoo.client import pvcd.log as log import pvcd.zkhandler as zkhandler -class DomainInstance: +class DomainInstance(object): # Initialization function def __init__(self, domuuid, zk_conn, config, logger, this_node): # Passed-in variables on creation diff --git a/node-daemon/pvcd/NodeInstance.py b/node-daemon/pvcd/NodeInstance.py index 5297440a..4325b8ca 100644 --- a/node-daemon/pvcd/NodeInstance.py +++ b/node-daemon/pvcd/NodeInstance.py @@ -33,7 +33,7 @@ import pvcd.log as log import pvcd.zkhandler as zkhandler import pvcd.common as common -class NodeInstance(): +class NodeInstance(object): # Initialization function def __init__(self, name, this_node, zk_conn, config, logger, d_node, d_network, d_domain): # Passed-in variables on creation diff --git a/node-daemon/pvcd/VXNetworkInstance.py b/node-daemon/pvcd/VXNetworkInstance.py index f6ffee10..45592c0e 100644 --- a/node-daemon/pvcd/VXNetworkInstance.py +++ b/node-daemon/pvcd/VXNetworkInstance.py @@ -28,7 +28,7 @@ import pvcd.log as log import pvcd.zkhandler as zkhandler import pvcd.common as common -class VXNetworkInstance(): +class VXNetworkInstance(object): # Initialization function def __init__ (self, vni, zk_conn, config, logger, this_node): self.vni = vni