bug-3542.diff

Alternative, shorter patch - Jos Backus, 04/13/2010 05:49 pm

Download (355 Bytes)

b/lib/facter.rb
180 180
    def self.warn(msg)
181 181
        if Facter.debugging? and msg and not msg.empty?
182
            msg = [msg] unless msg.respond_to? :each
182 183
            msg.each { |line| Kernel.warn line }
183 184
        end
184 185
    end