Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hostinfo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anders Blomdell
hostinfo
Commits
a9bc4ca3
Commit
a9bc4ca3
authored
12 years ago
by
Anders Blomdell
Browse files
Options
Downloads
Patches
Plain Diff
Version 2012-11-08 13:28
M src/hostinfo/yp.py
parent
1dadd84e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/hostinfo/yp.py
+2
-1
2 additions, 1 deletion
src/hostinfo/yp.py
with
2 additions
and
1 deletion
src/hostinfo/yp.py
+
2
−
1
View file @
a9bc4ca3
...
@@ -114,7 +114,8 @@ def netgroup(tree):
...
@@ -114,7 +114,8 @@ def netgroup(tree):
pass
pass
pass
pass
for
k
in
tree
.
_host_
.
_interface_
.
_kickstart_
:
for
k
in
tree
.
_host_
.
_interface_
.
_kickstart_
:
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
]),
k
.
_parent
.
_ip_
):
k
.
_parent
.
_ip_
):
entry
=
"
(%s,,)
"
%
fqn
(
tree
,
ip
)[
0
:
-
1
]
entry
=
"
(%s,,)
"
%
fqn
(
tree
,
ip
)[
0
:
-
1
]
key
=
"
ks-%s
"
%
k
.
file
[
0
:]
key
=
"
ks-%s
"
%
k
.
file
[
0
:]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment