Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mininet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Olaf Bergmann
mininet
Commits
55ca2d0c
Commit
55ca2d0c
authored
14 years ago
by
Bob Lantz
Browse files
Options
Downloads
Patches
Plain Diff
Pass code check.
parent
74a56e2b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mininet/moduledeps.py
+2
-2
2 additions, 2 deletions
mininet/moduledeps.py
with
2 additions
and
2 deletions
mininet/moduledeps.py
+
2
−
2
View file @
55ca2d0c
...
...
@@ -47,7 +47,7 @@ def moduleDeps( subtract=None, add=None ):
info
(
'
*** Loading
'
+
mod
+
'
\n
'
)
modprobeOutput
=
modprobe
(
mod
)
if
modprobeOutput
:
error
(
'
Error inserting
'
+
mod
+
error
(
'
Error inserting
'
+
mod
+
'
- is it installed and available via modprobe?
\n
'
+
'
Error was:
"
%s
"
\n
'
%
modprobeOutput
)
if
mod
not
in
lsmod
():
...
...
@@ -62,6 +62,6 @@ def pathCheck( *args, **kwargs ):
for
arg
in
args
:
if
not
quietRun
(
'
which
'
+
arg
):
error
(
'
Cannot find required executable %s.
\n
'
%
arg
+
'
Please make sure that %s is installed
'
%
moduleName
+
'
Please make sure that %s is installed
'
%
moduleName
+
'
and available in your $PATH:
\n
(%s)
\n
'
%
environ
[
'
PATH
'
]
)
exit
(
1
)
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