From d3bf61beda46fa395122cde6c566dfef24eb0539 Mon Sep 17 00:00:00 2001 From: thiagolckurovski Date: Mon, 13 Jul 2015 02:33:09 -0300 Subject: [PATCH] Erase unnecessary import of EthAddr Importing EthAddr from pox inside simple_ui_firewall.py is unnecessary, as the module isn't using EthAddr and very confusing, as there is one EthAddr defined by Pyretic, and importing and using the one from Pox instead won't work. The best thing to do is just erase the import. --- pyretic/examples/simple_ui_firewall.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyretic/examples/simple_ui_firewall.py b/pyretic/examples/simple_ui_firewall.py index bf4a06a4..db0e54d1 100644 --- a/pyretic/examples/simple_ui_firewall.py +++ b/pyretic/examples/simple_ui_firewall.py @@ -5,8 +5,6 @@ # author: Joshua Reich (jreich@cs.princeton.edu) # ################################################################################ -from pox.lib.addresses import EthAddr - from pyretic.lib.corelib import * from pyretic.lib.std import * from pyretic.modules.mac_learner import mac_learner