X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=NG-RO%2Fosm_ng_ro%2Fns_thread.py;h=0ec845257225c62592fb91d6ea1bd6daad265d4f;hb=refs%2Fchanges%2F90%2F10090%2F1;hp=013cae9e28cef739894beb3a52c672d2e2de1384;hpb=70eeb18e4fcbb8bc3c81c88f270b59966ae4d463;p=osm%2FRO.git diff --git a/NG-RO/osm_ng_ro/ns_thread.py b/NG-RO/osm_ng_ro/ns_thread.py index 013cae9e..0ec84525 100644 --- a/NG-RO/osm_ng_ro/ns_thread.py +++ b/NG-RO/osm_ng_ro/ns_thread.py @@ -1222,6 +1222,7 @@ class NsWorker(threading.Thread): for task_index, task in enumerate(ro_task["tasks"]): if not task: continue # task deleted + task_depends = {} target_update = None if (task_action in ("DELETE", "EXEC") and task["status"] not in ("SCHEDULED", "BUILD")) or \ task["action"] != task_action or \ @@ -1231,7 +1232,6 @@ class NsWorker(threading.Thread): try: db_vim_info_update = None if task["status"] == "SCHEDULED": - task_depends = {} # check if tasks that this depends on have been completed dependency_not_completed = False for dependency_task_id in (task.get("depends_on") or ()):