def getWorkersName(data):
    """Returns the list of the names of the workers sorted alphabetically"""
    names = [fichier for fichier in data.keys()]
    names.sort()
    try:
        names.remove("broker")
    except ValueError:
        pass
    return names
def getWorkersName ( data ) : names = [ fichier for fichier in data . keys ( ) ] names . sort ( ) try : names . remove ( "broker" ) except ValueError : pass return names
Returns the list of the names of the workers sorted alphabetically