Commits

Ginés Martínez Sánchez committed e1cbaed

fix by not have full tests

  • Participants
  • Parent commits 291080a

Comments (0)

Files changed (1)

File ginsfsm/globals.py

     TODO: with subprocesses send_event() will work??
     """
     global_main_gaplic = get_global_main_gaplic()
-    gobj = global_main_gaplic.search_unique_gobj(gobj_name)
+    gobj = global_main_gaplic.find_unique_gobj(gobj_name)
     if gobj:
         return gobj
 
     global_threads = get_global_threads()
     for wkr in global_threads:
-        gobj = wkr.gaplic.search_unique_gobj(gobj_name)
+        gobj = wkr.gaplic.find_unique_gobj(gobj_name)
         if gobj:
             return gobj
 
     # TODO: will work???
     global_subprocesses = get_global_subprocesses()
     for wkr in global_subprocesses:
-        gobj = wkr.gaplic.search_unique_gobj(gobj_name)
+        gobj = wkr.gaplic.find_unique_gobj(gobj_name)
         if gobj:
             return gobj
     return None