From 55ca2d0c96fdf0dbf7237959d1d4f49512862c98 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Wed, 1 Sep 2010 20:51:27 -0700 Subject: [PATCH] Pass code check. --- mininet/moduledeps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mininet/moduledeps.py b/mininet/moduledeps.py index b72bac3..2e154b1 100644 --- a/mininet/moduledeps.py +++ b/mininet/moduledeps.py @@ -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 )