Changeset 12478 in genesis for tools


Ignore:
Timestamp:
Oct 18, 2013, 7:40:49 PM (11 years ago)
Author:
rick
Message:

Missende bridge_type entries toegevoegd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r12475 r12478  
    18931893              x = datadump[iface_key]['comment']
    18941894              datadump[iface_key]['comment'] = x[0].upper() + x[1:]
    1895              
    1896 
     1895
     1896              # Fixing bridge_type if none is found
     1897              if datadump[iface_key].get('extra_type', '') == 'eth2wifibridge':
     1898                if not 'bridge_type' in datadump[iface_key]:
     1899                   datadump[iface_key]['bridge_type'] = 'NanoStation M5'
     1900
     1901              # Making sure description works
    18971902              if datadump[iface_key].has_key('desc'):
    18981903                if datadump[iface_key]['comment'].lower() == datadump[iface_key]['desc'].lower():
Note: See TracChangeset for help on using the changeset viewer.