Fix bug modules present in all groups with the same name even if they are defined by different vendors
authorLaurent Bessard
Wed, 12 Sep 2012 18:13:28 +0200
changeset 2073 d14ab97a452a
parent 2072 b7477ba593ba
child 2074 bf2fa4cb62a9
Fix bug modules present in all groups with the same name even if they are defined by different vendors
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"],