From 9d6c98389d2606c5a809418047cc87a2ab8ca1cf Mon Sep 17 00:00:00 2001
From: Filippo Cremonese <filippocremonese@rev.ng>
Date: Mon, 24 Aug 2020 18:21:43 +0200
Subject: [PATCH] Removed TODOs

---
 orchestra/cmds/graph.py | 1 -
 orchestra/executor.py   | 6 ------
 2 files changed, 7 deletions(-)

diff --git a/orchestra/cmds/graph.py b/orchestra/cmds/graph.py
index e094b13..9d544a7 100644
--- a/orchestra/cmds/graph.py
+++ b/orchestra/cmds/graph.py
@@ -8,7 +8,6 @@ def install_subcommand(sub_argparser):
 
 
 def handle_graph(args, config, index: ComponentIndex):
-    # TODO: this function prints duplicate edges
     if args.component:
         actions = [index.get_build(args.component).install]
     else:
diff --git a/orchestra/executor.py b/orchestra/executor.py
index 70f35fb..ce02fc8 100644
--- a/orchestra/executor.py
+++ b/orchestra/executor.py
@@ -33,12 +33,6 @@ class Executor:
                 else:
                     self._schedule_next()
 
-        # Todo: remove these 4 lines
-        if self._pending_actions:
-            logging.error("Could not schedule any action, something failed")
-            logging.error(f"Remaining: {self._pending_actions}")
-            breakpoint()
-
     def _collect_actions(self, action: Action, force=False):
         if not force and action.is_satisfied():
             return
-- 
GitLab