Wash and chop the beans. Blanch in salted boiling water strong for about 15 minutes, discard in a colander. Fry the bacon in melted margarine, add the onion, saute it until transparent, sprinkle with flour, stir, pour the broth. Season with vinegar, sugar, salt and pepper. Lower beans in the sauce, and serve warm.