to make cli show-options a little prettier.

Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 bin/ryu-manager | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/ryu-manager b/bin/ryu-manager
index f154bfe..03b1b79 100755
--- a/bin/ryu-manager
+++ b/bin/ryu-manager
@@ -58,11 +58,10 @@ def main():
     log.init_log()
 
     # always enable ofp for now.
-    CONF.app_lists += ['ryu.controller.ofp_handler']
-    CONF.app_lists += CONF.app
+    app_lists = CONF.app_lists + CONF.app + ['ryu.controller.ofp_handler']
 
     app_mgr = AppManager()
-    app_mgr.load_apps(CONF.app_lists)
+    app_mgr.load_apps(app_lists)
     contexts = app_mgr.create_contexts()
     app_mgr.instantiate_apps(**contexts)
 
-- 
1.8.0.1


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to