Path: Add debug comments and comment out unused code

This commit is contained in:
Russell Johnson
2021-07-05 14:45:36 -05:00
parent 430116a186
commit 3b392134eb
2 changed files with 7 additions and 1 deletions

View File

@@ -96,6 +96,7 @@ def findToolBit(name, path=None):
return _findToolFile("{}.fctb".format(name), path, 'Bit')
# Only used in ToolBit unit test module: TestPathToolBit.py
def findToolLibrary(name, path=None):
'''findToolLibrary(name, path) ... search for name, if relative path look in path'''
PathLog.track(name, path)
@@ -117,12 +118,15 @@ def _findRelativePath(path, typ):
return relative
# Unused due to bug fix related to relative paths
"""
def findRelativePathShape(path):
return _findRelativePath(path, 'Shape')
def findRelativePathTool(path):
return _findRelativePath(path, 'Bit')
"""
def findRelativePathLibrary(path):