File tree Expand file tree Collapse file tree
netjsonconfig/backends/airos Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -607,8 +607,8 @@ class Vlan(AirOsConverter):
607607 def to_intermediate (self ):
608608 result = []
609609 original = [
610- i for i in get_copy (self .netjson , self .netjson_key , []) if '.' in i ['name' ]
611- ]
610+ i for i in get_copy (self .netjson , self .netjson_key , []) if '.' in i ['name' ]
611+ ]
612612
613613 vlans = []
614614 for v in original :
@@ -631,8 +631,8 @@ class Wireless(AirOsConverter):
631631 def to_intermediate (self ):
632632 result = []
633633 original = [
634- i for i in get_copy (self .netjson , self .netjson_key , []) if i ['type' ] == 'wireless'
635- ]
634+ i for i in get_copy (self .netjson , self .netjson_key , []) if i ['type' ] == 'wireless'
635+ ]
636636
637637 ws = []
638638 for w in original :
@@ -767,14 +767,11 @@ def secondary_network(self):
767767
768768 def to_intermediate (self ):
769769 original = [
770- i for i in get_copy (self .netjson , self .netjson_key , []) if i ['type' ] == 'wireless'
771- ]
770+ i for i in get_copy (self .netjson , self .netjson_key , []) if i ['type' ] == 'wireless'
771+ ]
772772
773773 if original :
774774 head = original [0 ]
775775 # call either ``_station_intermediate`` or ``_access_point_intermediate``
776776 # and return the result
777777 return getattr (self , '_%s_intermediate' % head ['wireless' ]['mode' ])(original )
778-
779-
780- __all__ = []
You can’t perform that action at this time.
0 commit comments