summaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2012-02-02 14:48:34 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-02-03 02:35:38 +0900
commitb3002281e950750b40b7b4340601d1f8fe5a0003 (patch)
treeaed8831f4598e53c6fec44328da6cef76b1b3084 /bin
parent6ff0a21ce7edfb2770e880e62cc7457101d60b1d (diff)
pylint: various fixes for pylint
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ryu-manager9
1 files changed, 4 insertions, 5 deletions
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()