lib/revs-utils.rb in revs-utils-1.0.15 vs lib/revs-utils.rb in revs-utils-1.0.16
- old
+ new
@@ -169,9 +169,10 @@
return row
end
# checks to see if we have a valid format
def revs_is_valid_format?(format)
+ return true if format.nil? || format.blank?
formats=format.split("|").collect{|f| f.strip}
!formats.collect {|f| revs_known_formats.include?(f)}.uniq.include?(false)
end
# check a single format and fix some common issues