commit ef9aeaf608c2fca2abea0631c741c657ddf5c72b
Author: Ondrej Lichtner <olichtne(a)redhat.com>
Date: Thu Mar 27 13:09:23 2014 +0100
NetTestSlave: use the Common.Config.DefaultRPCPort constant
For some reason the DefaultRPCPort constant was defined in two places.
This commit fixes that and removes the constant definition from the
NetTestSlave module. Instead the constant is imported from the
Common.Config module.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
lnst/Slave/NetTestSlave.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/lnst/Slave/NetTestSlave.py b/lnst/Slave/NetTestSlave.py
index 729878b..99da97b 100644
--- a/lnst/Slave/NetTestSlave.py
+++ b/lnst/Slave/NetTestSlave.py
@@ -35,11 +35,10 @@ from lnst.Common.Utils import check_process_running
from lnst.Common.ConnectionHandler import recv_data, send_data
from lnst.Common.ConnectionHandler import ConnectionHandler
from lnst.Common.Config import lnst_config
+from lnst.Common.Config import DefaultRPCPort
from lnst.Common.NetTestCommand import NetTestCommandConfig
from lnst.Slave.InterfaceManager import InterfaceManager
-DefaultRPCPort = 9999
-
class SlaveMethods:
'''
Exported xmlrpc methods
Show replies by date