Skip to content

Commit

Permalink
Implement comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Verbytskyi committed Jan 9, 2025
1 parent 826dce3 commit 875c1fe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions DDCore/python/dd4hepFactories.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ def __init__(self):
self.all_components = []

def scanPath(self):
if os.getenv("LD_LIBRARY_PATH") is not None:
ldp = os.environ['LD_LIBRARY_PATH'].split(':')
else:
ldp = ['/usr/lib64', '/usr/lib/', '/usr/local/lib', '/usr/lib64/root', '/usr/lib/root', '/usr/local/lib/root']
ldp = os.getenv("LD_LIBRARY_PATH","/usr/lib64:/usr/lib/:/usr/local/lib:/usr/lib64/root:/usr/lib/root:/usr/local/lib/root").split(':')
for p in ldp:
if len(p):
logger.info('+== Search component directory: ' + p)
Expand Down

0 comments on commit 875c1fe

Please sign in to comment.