Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -103,7 +103,8 @@ def netgroup(tree): ...@@ -103,7 +103,8 @@ def netgroup(tree):
pass pass
pass pass
for g in tree._host_._interface_._netgroup_: 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_): g._parent._ip_):
if not g.name[0:] in netgroup: if not g.name[0:] in netgroup:
netgroup[g.name[0:]] = [ ] netgroup[g.name[0:]] = [ ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment