- Timestamp:
- May 16, 2012, 7:58:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10882 r10884 1507 1507 1508 1508 if datadump[iface_key]['comment'].startswith('autogen-') and datadump[iface_key].has_key('comment'): 1509 datadump[iface_key]['comment'] = datadump[iface_key]['desc'] 1510 1511 if datadump[iface_key].has_key('desc') and datadump[iface_key]['comment'] == datadump[iface_key]['desc']: 1509 datadump[iface_key] = datadump[iface_key]['desc'] 1510 1511 x = datadump[iface_key]['comment'] 1512 datadump[iface_key]['comment'] = x[0].upper() + x[1:] 1513 1514 1515 if datadump[iface_key].has_key('desc') and datadump[iface_key]['comment'].lower() == datadump[iface_key]['desc'].lower(): 1512 1516 del datadump[iface_key]['desc'] 1513 1517
Note:
See TracChangeset
for help on using the changeset viewer.