- Timestamp:
- Apr 7, 2012, 10:13:29 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10366 r10367 337 337 338 338 ileiden_proxies = [] 339 normal_proxies = [] 339 340 for proxy in get_proxylist(): 340 341 proxydump = get_yaml(proxy) 341 342 if proxydump['ileiden']: 342 343 ileiden_proxies.append(proxydump) 344 else: 345 normal_proxies.append(proxydump) 343 346 datadump['autogen_ileiden_proxies'] = ','.join([x['masterip'] for x in ileiden_proxies]) 344 347 datadump['autogen_ileiden_proxies_names'] = ','.join([x['autogen_item'] for x in ileiden_proxies]) 348 datadump['autogen_normal_proxies'] = ','.join([x['masterip'] for x in normal_proxies]) 349 datadump['autogen_normal_proxies_names'] = ','.join([x['autogen_item'] for x in normal_proxies]) 345 350 346 351 output = generate_header("#"); … … 393 398 # 394 399 # iLeiden Proxies {{ autogen_ileiden_proxies_names }} 395 lvrouted_flags="-u -s s00p3rs3kr3t -m 28 -z {{ autogen_ileiden_proxies }}" 400 list_ileiden_proxies="{{ autogen_ileiden_proxies }}" 401 # normal Proxies {{ autogen_normal_proxies_names }} 402 list_normal_proxies="{{ autogen_normal_proxies }}" 403 404 lvrouted_flags="-u -s s00p3rs3kr3t -m 28 -z $list_ileiden_proxies" 396 405 {% endif %} 397 406 {% if vpnif -%}
Note:
See TracChangeset
for help on using the changeset viewer.