Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Maud Kerebel
scripts
Commits
2b5d732c
Commit
2b5d732c
authored
Sep 13, 2014
by
Daniel STAN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gen_confs/switchs: adh peut ne pas avoir de droits
parent
105c6d82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gestion/gen_confs/switchs2.py
gestion/gen_confs/switchs2.py
+1
-1
No files found.
gestion/gen_confs/switchs2.py
View file @
2b5d732c
...
...
@@ -103,7 +103,7 @@ class Port(object):
if
any
(
"cl"
in
nom
for
nom
in
self
.
chambres
)
or
self
.
uplink
or
\
self
.
servers
:
return
''
if
any
(
adh
[
'droits'
]
for
adh
in
self
.
adherents
()):
if
any
(
adh
.
get
(
'droits'
,
None
)
for
adh
in
self
.
adherents
()):
return
''
return
'speed-duplex auto-10-100'
...
...
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