summaryrefslogtreecommitdiffstats
path: root/lib/puppet/reference/function.rb
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-07-15 19:44:35 -0700
committerMarkus Roberts <Markus@reality.com>2010-07-18 19:44:15 -0700
commit8c8c1469ae9f1dd11c567d89a27be81653ca2052 (patch)
treed87c89e15e0b390115a53961509a54006344c0d7 /lib/puppet/reference/function.rb
parentd319da41e46f0f3621180d09d3110f67003a7527 (diff)
downloadpuppet-8c8c1469ae9f1dd11c567d89a27be81653ca2052.tar.gz
puppet-8c8c1469ae9f1dd11c567d89a27be81653ca2052.tar.xz
puppet-8c8c1469ae9f1dd11c567d89a27be81653ca2052.zip
Minimal fix for #4243 -- import isn't thread safe
The import function was calling type_loader#import directly so that it could pass in the current file name, but by doing so it was thwarting the thread- safety locking level. This patch rearanges things so that all imports go through the same (thread safe) code path while retaining the current_file passing, error handling, etc. from the old structure.
Diffstat (limited to 'lib/puppet/reference/function.rb')
0 files changed, 0 insertions, 0 deletions