Skip to content

Commit

Permalink
Remove unused _resolve method
Browse files Browse the repository at this point in the history
This was a copy and paste error.
  • Loading branch information
timj committed Jan 22, 2024
1 parent cd8f210 commit 5d2f8ce
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions python/eups/db/VersionFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -528,6 +513,3 @@ def write(self, trimDir=None, file=None):
print("End:", file=fd)

fd.close()



0 comments on commit 5d2f8ce

Please sign in to comment.