Signed-off-by: Jason Kölker <[email protected]>
---
 ryu/lib/ofctl_v1_3.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ryu/lib/ofctl_v1_3.py b/ryu/lib/ofctl_v1_3.py
index d94a9dc..5249d34 100644
--- a/ryu/lib/ofctl_v1_3.py
+++ b/ryu/lib/ofctl_v1_3.py
@@ -120,8 +120,9 @@ def to_actions(dp, acts):
                     else:
                         LOG.error('Unknown action type: %s', action_type)
                 if write_actions:
-                    
inst.append(parser.OFPInstructionActions(ofp.OFPIT_WRITE_ACTIONS,
-                                                             write_actions))
+                    inst.append(
+                        parser.OFPInstructionActions(ofp.OFPIT_WRITE_ACTIONS,
+                                                     write_actions))
             elif action_type == 'CLEAR_ACTIONS':
                 inst.append(parser.OFPInstructionActions(
                             ofp.OFPIT_CLEAR_ACTIONS, []))
@@ -504,7 +505,6 @@ def get_queue_stats(dp, waiters, port=None, queue_id=None):
 
 
 def get_queue_config(dp, port, waiters):
-    ofp = dp.ofproto
     port = UTIL.ofp_port_from_user(port)
     stats = dp.ofproto_parser.OFPQueueGetConfigRequest(dp, port)
     msgs = []
-- 
2.7.3


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to