blind review on list-operations added by 2to3:
[nepi.git] / src / nepi / resources / ns3 / ns3wifimac.py
index 04bd83a..f3dd5cd 100644 (file)
@@ -29,6 +29,7 @@ class NS3BaseWifiMac(NS3Base):
     def _register_attributes(cls):
         standard = Attribute("Standard", "Wireless standard",
                 default = "WIFI_PHY_STANDARD_80211a",
+                # staying safe with 2to3's generated list
                 allowed = list(WIFI_STANDARDS.keys()),
                 type = Types.Enumerate,
                 flags = Flags.Design)