Commit 9edafa1e authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Version 2012-09-07 14:56

M  src/hostinfo/yp.py
parent 241f28df
......@@ -103,7 +103,8 @@ def netgroup(tree):
pass
pass
for g in tree._host_._interface_._netgroup_:
for ip in filter(lambda ip: not ip.alias[0] and not ip.vlan[0],
for ip in filter(lambda ip: (not ip.alias[0] and not ip.vlan[0] and
not ip.never[0]),
g._parent._ip_):
if not g.name[0:] in netgroup:
netgroup[g.name[0:]] = [ ]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment