From 5d2f8ce2a578a4f9138925a850512a242ab672e5 Mon Sep 17 00:00:00 2001 From: Tim Jenness Date: Mon, 22 Jan 2024 09:18:07 -0700 Subject: [PATCH] Remove unused _resolve method This was a copy and paste error. --- python/eups/db/VersionFile.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/python/eups/db/VersionFile.py b/python/eups/db/VersionFile.py index adc40ae2..5dd2de61 100644 --- a/python/eups/db/VersionFile.py +++ b/python/eups/db/VersionFile.py @@ -178,21 +178,6 @@ def makeProduct(self, flavor, eupsPathDir=None, dbpath=None): return out - def _resolve(self, value, data, skip=None): - if not value: return value - - dosub = list(data.keys()) - if skip: - if eups.utils.is_string(skip): - skip = skip.split() - dosub = [n for n in dosub if n not in skip] - - for name in dosub: - if name in macrore and data[name]: - value = macrore[name].sub(data[name], value) - - return value - def makeProducts(self): """ return Product instances for all of the flavors declared in the file. @@ -528,6 +513,3 @@ def write(self, trimDir=None, file=None): print("End:", file=fd) fd.close() - - -