Changeset 6510 for trunk


Ignore:
Timestamp:
Dec 29, 2008, 11:54:42 PM (16 years ago)
Author:
RIck van der Zwet
Message:

Included direction details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/exodus/scripts/genesis_to_exodus.py

    r6487 r6510  
    139139                            interface['node'] = nodeid
    140140
     141                            # key is named differently in genesis -> exodus
     142                            if config.has_option(cfgsection, 'compass-direction'):
     143                                interface['direction'] = config.get(cfgsection, 'compass-direction')
     144                            else:
     145                                interface['direction'] = ''
     146
    141147                            # XXX: The genesis data is complete, the type of
    142148                            #      antenna needs to be passed on.
Note: See TracChangeset for help on using the changeset viewer.