- Timestamp:
- Oct 9, 2012, 9:01:27 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r11503 r11533 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 125 136 126 137 … … 1147 1158 ('Refresh', '5; url=.'), 1148 1159 ] 1149 clear_cache()1160 reload_cache() 1150 1161 else: 1151 1162 base_uri = environ['PATH_INFO']
Note:
See TracChangeset
for help on using the changeset viewer.