From c2971871dd1380b88d58f29211a3e8478aca477a Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Mon, 12 Oct 2015 07:15:54 +0100 Subject: Add Pylint to VSPERF commit gate Initial pylint config file has been created to follow current code structure and design. A few issues have been fixed, so currently 56 of 67 files have rating 10/10. There are still issues to be fixed, mainly TODOs/FIXMEs and missing impelentation of abstract class members. Change-Id: Icf5b12c2150258f8ac657f8d50b47a697d1660a0 JIRA: VSPERF-91 Signed-off-by: Martin Klozik Reviewed-by: Maryam Tahhan Reviewed-by: Fatih Degirmenci Reviewed-by: Gene Snider Reviewed-by: Al Morton Reviewed-by: Tv Rao Reviewed-by: Brian Castelli --- vswitches/ovs_vanilla.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vswitches/ovs_vanilla.py') diff --git a/vswitches/ovs_vanilla.py b/vswitches/ovs_vanilla.py index 36ad6054..acea4ecb 100644 --- a/vswitches/ovs_vanilla.py +++ b/vswitches/ovs_vanilla.py @@ -42,7 +42,7 @@ class OvsVanilla(IVSwitch): def __init__(self): #vswitchd_args = VSWITCHD_CONST_ARGS - vswitchd_args = ["unix:%s" % VSwitchd.getDbSockPath()] + vswitchd_args = ["unix:%s" % VSwitchd.get_db_sock_path()] vswitchd_args += settings.getValue('VSWITCHD_VANILLA_ARGS') self._vswitchd = VSwitchd(vswitchd_args=vswitchd_args, expected_cmd="db.sock: connected") -- cgit 1.2.3-korg