Changeset 10074 in genesis for tools/gformat.py
- Timestamp:
- Mar 9, 2012, 11:05:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10071 r10074 418 418 return datadump 419 419 420 def store_yaml(datadump, header= True):420 def store_yaml(datadump, header=False): 421 421 """ Store configuration yaml for 'item'""" 422 422 item = datadump['autogen_item'] … … 930 930 for key,datadump in datadumps.iteritems(): 931 931 datadump['latitude'], datadump['longitude'] = rdnap.rd2etrs(datadump['rdnap_x'], datadump['rdnap_y']) 932 store_yaml(datadump , header=False)932 store_yaml(datadump) 933 933 elif sys.argv[1] == "list": 934 934 if sys.argv[2] == "nodes":
Note:
See TracChangeset
for help on using the changeset viewer.