etherlab/etherlab.py
changeset 2425 68e7da937162
parent 2418 5587c490a070
child 2434 07f48018b6f5
equal deleted inserted replaced
2424:dc5554f0c12c 2425:68e7da937162
   259                             (device.getType().getcontent(), device))
   259                             (device.getType().getcontent(), device))
   260 
   260 
   261                 else:
   261                 else:
   262 
   262 
   263                     self.GetCTRoot().logger.write_error(
   263                     self.GetCTRoot().logger.write_error(
   264                         _("Couldn't load %s XML file:\n%s") % (filepath, error))
   264                         _("Couldn't load {a1} XML file:\n{a2}").format(a1=filepath, a2=error))
   265 
   265 
   266         return self.Library
   266         return self.Library
   267 
   267 
   268     def GetModulesLibrary(self, profile_filter=None):
   268     def GetModulesLibrary(self, profile_filter=None):
   269         if self.Library is None:
   269         if self.Library is None: