We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb8c1e8 + c28f551 commit a89b1d2Copy full SHA for a89b1d2
FWCore/ParameterSet/python/Config.py
@@ -52,7 +52,7 @@ def checkImportPermission(minLevel: int = 2, allowedPatterns = []):
52
import os
53
54
ignorePatterns = ['FWCore/ParameterSet/Config.py', 'FWCore/ParameterSet/python/Config.py','<string>','<frozen ']
55
- CMSSWPath = [os.getenv(base) for base in ['CMSSW_BASE', 'CMSSW_RELEASE_BASE', 'CMSSW_FULL_RELEASE_BASE'] if os.getenv(base, '')]
+ CMSSWPath = [os.path.realpath(os.getenv(base)) for base in ['CMSSW_BASE', 'CMSSW_RELEASE_BASE', 'CMSSW_FULL_RELEASE_BASE'] if os.getenv(base, '')]
56
57
# Filter the stack to things in CMSSWPath and not in ignorePatterns
58
trueStack = []
0 commit comments