Revision edf60032 mininet/moduledeps.py

View differences:

mininet/moduledeps.py
48 48
            modprobeOutput = modprobe( mod )
49 49
            if modprobeOutput:
50 50
                error( 'Error inserting ' + mod +
51
                ' - is it installed and available via modprobe?\n' +
52
                'Error was: "%s"\n' % modprobeOutput )
51
                       ' - is it installed and available via modprobe?\n' +
52
                       'Error was: "%s"\n' % modprobeOutput )
53 53
            if mod not in lsmod():
54 54
                error( 'Failed to insert ' + mod + ' - quitting.\n' )
55 55
                exit( 1 )
......
63 63
    for arg in args:
64 64
        if not quietRun( 'which ' + arg ):
65 65
            error( 'Cannot find required executable %s.\n' % arg +
66
                'Please make sure that %s is installed ' % moduleName +
67
                'and available in your $PATH:\n(%s)\n' % environ[ 'PATH' ] )
66
                   'Please make sure that %s is installed ' % moduleName +
67
                   'and available in your $PATH:\n(%s)\n' % environ[ 'PATH' ] )
68 68
            exit( 1 )

Also available in: Unified diff