Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fibre
portal-interface
Commits
79bb93f1
Commit
79bb93f1
authored
Jan 31, 2020
by
Felipe Fonseca
Browse files
Merge branch '1.3.6'
parents
db8e219e
4be11f1f
Changes
1
Show whitespace changes
Inline
Side-by-side
portal/models/oedl.py
View file @
79bb93f1
...
...
@@ -534,6 +534,7 @@ class OEDL:
vlans
=
[]
if
active_lease
is
not
None
:
for
component
in
active_lease
[
'components'
]:
if
component
[
'resource_type'
]
==
'vlan'
:
vlans
.
append
({
'name'
:
component
[
'name'
]
})
...
...
@@ -587,6 +588,7 @@ class OEDL:
vlans
=
[]
if
active_lease
is
not
None
:
for
component
in
active_lease
[
'components'
]:
if
component
[
'resource_type'
]
==
'vlan'
:
vlans
.
append
({
'name'
:
component
[
'name'
]
})
...
...
Write
Preview
Supports
Markdown
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