lib/autoproj/base.rb in autoproj-1.8.0.rc5 vs lib/autoproj/base.rb in autoproj-1.8.0.rc6

- old
+ new

@@ -1,5 +1,13 @@ +require 'yaml' module Autoproj + YAML_LOAD_ERROR = + if defined? Psych::SyntaxError + Psych::SyntaxError + else + ArgumentError + end + class ConfigError < RuntimeError attr_accessor :file def initialize(file = nil) super @file = file