Changeset 11534 in genesis for tools/gformat.py
- Timestamp:
- Oct 9, 2012, 9:03:29 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r11533 r11534 123 123 normal_proxies = [] 124 124 nameservers_cache = [] 125 126 def fill_cache():127 ''' Poor man re-loading of few cache items (the slow ones) '''128 for host in get_hostlist():129 datadumps[host] = get_yaml(host)130 131 132 def reload_cache():133 clear_cache()134 fill_cache()135 136 137 125 138 126 NO_DHCP = 0 … … 1479 1467 print 1480 1468 print output 1469 1470 1471 def fill_cache(): 1472 ''' Poor man re-loading of few cache items (the slow ones) ''' 1473 for host in get_hostlist(): 1474 datadumps[host] = get_yaml(host) 1475 1476 1477 def reload_cache(): 1478 clear_cache() 1479 fill_cache() 1480 1481 1481 1482 1482
Note:
See TracChangeset
for help on using the changeset viewer.