From e2f4228e9ecf2b274b105c278555369c88873f18 Mon Sep 17 00:00:00 2001
From: nhertz <nhertz@nrao.edu>
Date: Wed, 30 Jun 2021 10:14:56 -0600
Subject: [PATCH] `HeuristicProductFinder` in delivery now no longer considers
 PEX root tmpdirs as products to deliver

---
 apps/cli/executables/pexable/delivery/delivery/finder.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/apps/cli/executables/pexable/delivery/delivery/finder.py b/apps/cli/executables/pexable/delivery/delivery/finder.py
index de302ab54..ed4929103 100644
--- a/apps/cli/executables/pexable/delivery/delivery/finder.py
+++ b/apps/cli/executables/pexable/delivery/delivery/finder.py
@@ -44,9 +44,7 @@ class HeuristicProductFinder(ProductFinder):
         Identify the product type and the number of products and returns them as a list
 
         :return: List of products
-        TODO: Search for a `products` directory to identify calibration products; I think that's good enough for now
-            to tell EBs from calibrations and once we get more products needing to be delivered we can expand from there
         """
         for subdir in self.path.glob("*"):
-            if subdir.is_dir():
+            if subdir.is_dir() and not subdir.name.startswith("tmp"):
                 yield ExecutionBlock(subdir)
-- 
GitLab