Changeset 10400 in genesis for tools/gformat.py
- Timestamp:
- Apr 8, 2012, 8:22:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10391 r10400 1077 1077 1078 1078 for host,datadump in datadumps.iteritems(): 1079 datadump['latitude'], datadump['longitude'] = rdnap.rd2etrs(datadump['rdnap_x'], datadump['rdnap_y']) 1079 if datadump['rdnap_x'] and datadump['rdnap_y']: 1080 datadump['latitude'], datadump['longitude'] = rdnap.rd2etrs(datadump['rdnap_x'], datadump['rdnap_y']) 1081 elif datadump['latitude'] and datadump['longitude']: 1082 datadump['rdnap_x'], datadump['rdnap_y'] = rdnap.etrs2rd(datadump['latitude'], datadump['longitude']) 1083 1080 1084 if datadump['nodename'].startswith('Proxy'): 1081 1085 datadump['nodename'] = datadump['nodename'].lower()
Note:
See TracChangeset
for help on using the changeset viewer.