summaryrefslogtreecommitdiffstats
path: root/lib/puppet/autoload.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/autoload.rb')
-rw-r--r--lib/puppet/autoload.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/puppet/autoload.rb b/lib/puppet/autoload.rb
index 4e5d07e31..0a2b7b6b5 100644
--- a/lib/puppet/autoload.rb
+++ b/lib/puppet/autoload.rb
@@ -1,8 +1,3 @@
-# I have no idea what's going on here, but...
-unless defined? MissingSourceFile
- class MissingSourceFile < RuntimeError
- end
-end
# Autoload paths, either based on names or all at once.
class Puppet::Autoload
include Puppet::Util
@@ -54,8 +49,6 @@ class Puppet::Autoload
Kernel.load path, @wrap
@loaded[name] = true
return true
- rescue MissingSourceFile
- return false
rescue LoadError => detail
# I have no idea what's going on here, but different versions
# of ruby are raising different errors on missing files.