emtpy_transfer_file.2.patch

A version of the patch that actually does what it's supposed to.. - Redmine Admin, 01/17/2009 04:04 PM

Download (586 Bytes)

View differences:

packaging/src/tm_mad/TMScript.rb 2009-01-17 14:49:54.939798913 +0000
138 138
    # Returns an array where first element tells if succeded and the
139 139
    # second one is the error message in case of failure.
140 140
    def execute(plugin)
141
		if @lines.empty?
142
			return [true,""]
143
		end
141 144
        result=@lines.each {|line|
142 145
            res=plugin.execute(@logger, *line)
143 146
            if !res