Revision 4da7b3b7

View differences:

mininet/util.py
530 530
    """
531 531
    cname, args, kwargs = splitArgs( argStr )
532 532
    cls = classes.get( cname, None )
533

  
534
    if not cname:
533
    if not cls:
535 534
        raise Exception( "error: %s is unknown - please specify one of %s" %
536 535
                         ( cname, classes.keys() ) )
537 536
    if not args and not kwargs:

Also available in: Unified diff