Changeset 10825 in genesis
- Timestamp:
- May 13, 2012, 12:22:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10824 r10825 465 465 (ip, cidr) = datadump[iface_key]['ip'].split('/') 466 466 datadump[iface_key]['netmask'] = cidr2netmask(cidr) 467 except (AttributeError, ValueError ):467 except (AttributeError, ValueError, KeyError): 468 468 output += "# not autoritive\n\n" 469 469 continue … … 1081 1081 for i in range(int(dhcp_start), int(dhcp_stop) + 1): 1082 1082 wleiden_zone["dhcp-%s-%s.%s" % (i, iface_name, fqdn)].append(("%s.%s" % (dhcp_part, i), True)) 1083 except (AttributeError, ValueError ):1083 except (AttributeError, ValueError, KeyError): 1084 1084 # First push it into a pool, to indentify the counter-part later on 1085 1085 addr = parseaddr(ip)
Note:
See TracChangeset
for help on using the changeset viewer.