# HG changeset patch
# User Laurent Bessard
# Date 1347466408 -7200
# Node ID d14ab97a452a83183411185091948907965c6e31
# Parent  b7477ba593baac9ef401c94559918a0880ba268c
Fix bug modules present in all groups with the same name even if they are defined by different vendors

diff -r b7477ba593ba -r d14ab97a452a etherlab/etherlab.py
--- a/etherlab/etherlab.py	Sun Sep 09 22:59:07 2012 +0200
+++ b/etherlab/etherlab.py	Wed Sep 12 18:13:28 2012 +0200
@@ -1441,9 +1441,9 @@
     
     def GetModulesLibrary(self, profile_filter=None):
         library = []
-        children_dict = {}
         for vendor_id, vendor in self.ModulesLibrary.iteritems():
             groups = []
+            children_dict = {}
             for group_type, group in vendor["groups"].iteritems():
                 group_infos = {"name": group["name"],
                                "order": group["order"],