- Timestamp:
- Jul 2, 2019, 9:18:41 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r14376 r14383 1055 1055 elems = sorted([elem for elem in config.keys() if (elem.startswith('iface_') and not "lo0" in elem)]) 1056 1056 if extra == False: 1057 return filter(lambda x: not "extra" in x, elems)1057 return list(filter(lambda x: not "extra" in x, elems)) 1058 1058 else: 1059 1059 return elems … … 1665 1665 ## roomburgh=Roomburgh1 1666 1666 ## apkerk1.Vosko=172.17.176.8 ;this as well 1667 dns_list = yaml.load(open(os.path.join(NODE_DIR,'../dns/staticDNS.yaml'),'r') )1667 dns_list = yaml.load(open(os.path.join(NODE_DIR,'../dns/staticDNS.yaml'),'r'), Loader=Loader) 1668 1668 1669 1669 # Hack to allow special entries, for development
Note:
See TracChangeset
for help on using the changeset viewer.