Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FUSS
octomon
Commits
632fde40
Unverified
Commit
632fde40
authored
Mar 23, 2019
by
Marco Marinello
Browse files
Fix extra 's'
parent
e24132b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
hosts/utils.py
View file @
632fde40
...
...
@@ -148,10 +148,10 @@ def parse_wan_mac(components):
def
parse_etc
(
components
):
q
=
filter
(
components
,
"etc_segments"
)
if
not
q
:
return
None
q
=
filter
(
components
,
"etc_segment"
)
this
=
to_dict
(
q
)
if
"etc_segments"
not
in
this
:
return
None
segments
=
int
(
this
[
"etc_segments"
])
j
=
""
for
i
in
range
(
segments
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment