Changeset 8342 in genesis for nodes/get-network-status.py
- Timestamp:
- Aug 13, 2010, 8:00:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/get-network-status.py
r8341 r8342 310 310 def do_merge(files): 311 311 """ Merge all external statuses in our own nodestatus, using optimistic approch """ 312 stream = file(nodemap_status_file,'r') 313 status = yaml.load(stream) 312 try: 313 stream = file(nodemap_status_file,'r') 314 status = yaml.load(stream) 315 except IOError, e: 316 # Data store format used for nodemap generation 317 status = { 'node' : {}, 'link' : {}} 318 314 319 for cfile in files: 315 320 try:
Note:
See TracChangeset
for help on using the changeset viewer.