etherlab/etherlab.py
changeset 2073 d14ab97a452a
parent 2069 840d328560f8
child 2074 bf2fa4cb62a9
--- 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"],