From b3002281e950750b40b7b4340601d1f8fe5a0003 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Thu, 2 Feb 2012 14:48:34 +0900 Subject: pylint: various fixes for pylint Signed-off-by: Isaku Yamahata Signed-off-by: FUJITA Tomonori --- bin/ryu-manager | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'bin/ryu-manager') diff --git a/bin/ryu-manager b/bin/ryu-manager index 61df86c6..ef8355b1 100755 --- a/bin/ryu-manager +++ b/bin/ryu-manager @@ -24,9 +24,8 @@ from gevent import monkey monkey.patch_all() from ryu import log -log.earlyInitLog(logging.DEBUG) +log.early_init_log(logging.DEBUG) -from ryu import flags from ryu import utils from ryu.app import wsapi from ryu.base.app_manager import AppManager @@ -46,10 +45,10 @@ gflags.DEFINE_multistring('app_lists', def main(): utils.find_flagfile() - args = FLAGS(sys.argv) - log.initLog() + _args = FLAGS(sys.argv) + log.init_log() - nw = network.network() + nw = network.Network() dpset_ = dpset.create_dpset() app_mgr = AppManager() -- cgit v1.2.3