From 242f3023eacfbbf17e3713447a02e62b24631bc9 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 2 Sep 2013 13:57:50 +0900 Subject: [PATCH] rest_router: make pep8 comfortable Signed-off-by: YAMAMOTO Takashi Signed-off-by: FUJITA Tomonori --- ryu/app/rest_router.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ryu/app/rest_router.py b/ryu/app/rest_router.py index f3cac02a..47840e95 100644 --- a/ryu/app/rest_router.py +++ b/ryu/app/rest_router.py @@ -1657,9 +1657,11 @@ class OfCtl_v1_0(OfCtl): # Decrement TTL value is not supported at OpenFlow V1.0 actions = [] if src_mac: - actions.append(ofp_parser.OFPActionSetDlSrc(mac_lib.haddr_to_bin(src_mac))) + actions.append(ofp_parser.OFPActionSetDlSrc( + mac_lib.haddr_to_bin(src_mac))) if dst_mac: - actions.append(ofp_parser.OFPActionSetDlDst(mac_lib.haddr_to_bin(dst_mac))) + actions.append(ofp_parser.OFPActionSetDlDst( + mac_lib.haddr_to_bin(dst_mac))) if outport is not None: actions.append(ofp_parser.OFPActionOutput(outport))