Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nemu3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
nemu3
Commits
f98545ed
Commit
f98545ed
authored
Aug 06, 2010
by
Martín Ferrari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error reporting
parent
c854330a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/netns/environ.py
src/netns/environ.py
+2
-2
No files found.
src/netns/environ.py
View file @
f98545ed
...
@@ -20,8 +20,8 @@ def _find_bin(name):
...
@@ -20,8 +20,8 @@ def _find_bin(name):
def
_find_bin_or_die
(
name
):
def
_find_bin_or_die
(
name
):
r
=
_find_bin
(
name
)
r
=
_find_bin
(
name
)
if
not
r
:
if
not
r
:
raise
RuntimeError
(
"Cannot find `%s' command, impossible to "
+
raise
RuntimeError
(
(
"Cannot find `%s' command, impossible to "
+
"continue."
%
name
)
"continue."
)
%
name
)
return
r
return
r
ip_path
=
_find_bin_or_die
(
"ip"
)
ip_path
=
_find_bin_or_die
(
"ip"
)
...
...
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