예제 #1
0
 def get_resources(self):
     tb = None
     try:
         ret = get_external_resources(current_container())
     except Exception as err:
         import traceback
         ret, tb = err, traceback.format_exc()
     self.get_done.emit(ret, tb)
예제 #2
0
 def get_resources(self):
     tb = None
     try:
         ret = get_external_resources(current_container())
     except Exception as err:
         import traceback
         ret, tb = err, traceback.format_exc()
     self.get_done.emit(ret, tb)