- Timestamp:
- May 22, 2012, 10:34:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10983 r10986 1293 1293 else: 1294 1294 wleiden_cname[k] = item 1295 1296 # Hack to get dynamic pool listing 1297 def chunks(l, n): 1298 return [l[i:i+n] for i in range(0, len(l), n)] 1299 1300 ntp_servers = [x[0] for x in get_nameservers()] 1301 for id, chunk in enumerate(chunks(ntp_servers,(len(ntp_servers)/4))): 1302 for ntp_server in chunk: 1303 wleiden_zone['%i.pool.ntp' % id].append((ntp_server, False)) 1295 1304 1296 1305 details = dict()
Note:
See TracChangeset
for help on using the changeset viewer.