Changeset 6556 for trunk


Ignore:
Timestamp:
Jan 5, 2009, 12:54:16 AM (16 years ago)
Author:
roland
Message:

Made a small optimisation.

File:
1 edited

Legend:

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

    r6555 r6556  
    2525        if not antenna_dict.has_key(ag_string):
    2626            antenna_dict[ag_string] = 1
     27            print_list.append(ag_string)
    2728        else:
    2829            antenna_dict[ag_string] += 1
    29 
    30     for i in antenna_dict:
    31         print_list.append(i)
    3230
    3331    print_list.sort()
Note: See TracChangeset for help on using the changeset viewer.