On Wed, 13 Feb 2013 12:06:19 +0900
Isaku Yamahata <[email protected]> wrote:

> - fix string concatenation. Needs surrounding paren.
> - more version checks
> - make hello_failed private. (adding "_" prefix)
> 
> Signed-off-by: Isaku Yamahata <[email protected]>
> ---
>  ryu/controller/ofp_handler.py |   90 
> ++++++++++++++++++++++++++++++++---------
>  1 file changed, 71 insertions(+), 19 deletions(-)
> 
> diff --git a/ryu/controller/ofp_handler.py b/ryu/controller/ofp_handler.py
> index 3ce9198..609617d 100644
> --- a/ryu/controller/ofp_handler.py
> +++ b/ryu/controller/ofp_handler.py
> @@ -14,14 +14,13 @@
>  # See the License for the specific language governing permissions and
>  # limitations under the License.
>  
> +import itertools
>  import logging
>  
>  import ryu.base.app_manager
>  
>  from ryu import utils
> -from ryu.controller import handler
>  from ryu.controller import ofp_event
> -from ryu.controller.handler import set_ev_cls, set_ev_handler

Please test the patch before sending it!

Also please don't touch unrelated code!

=
>From 312f65c9d1bfb815b9accadc1a8831bc09367652 Mon Sep 17 00:00:00 2001
From: FUJITA Tomonori <[email protected]>
Date: Wed, 13 Feb 2013 13:12:51 +0900
Subject: [PATCH] fix breakage the commit
 68f3259754fdbd7b5351c9739bf6f238c7ffb313

Signed-off-by: FUJITA Tomonori <[email protected]>
---
 ryu/controller/ofp_handler.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ryu/controller/ofp_handler.py b/ryu/controller/ofp_handler.py
index 609617d..2ac7251 100644
--- a/ryu/controller/ofp_handler.py
+++ b/ryu/controller/ofp_handler.py
@@ -21,6 +21,7 @@ import ryu.base.app_manager
 
 from ryu import utils
 from ryu.controller import ofp_event
+from ryu.controller.handler import set_ev_handler
 from ryu.controller.handler import HANDSHAKE_DISPATCHER, CONFIG_DISPATCHER,\
     MAIN_DISPATCHER
 
-- 
1.7.4.4



------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to