diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-05-03 19:14:10 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-05-03 19:14:10 -0400 |
commit | 65124198251d6e0ac59294f76c30644ad4fac6d5 (patch) | |
tree | dc50da8382c66172f740cd233517c7f7243be23e /lib/sisu/v2/dal_images.rb | |
parent | debian/changelog (2.3.1-1) (diff) | |
parent | update: changelog, version (2.3.2) (diff) |
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v2/dal_images.rb')
-rw-r--r-- | lib/sisu/v2/dal_images.rb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/sisu/v2/dal_images.rb b/lib/sisu/v2/dal_images.rb index 1e474010..0b6d2b1e 100644 --- a/lib/sisu/v2/dal_images.rb +++ b/lib/sisu/v2/dal_images.rb @@ -76,8 +76,7 @@ module SiSU_images end else if @md.cmd =~/[vVM]/ - tell=SiSU_Screen::Ansi.new(@md.cmd,'use of RMagick is not enabled in sisurc.yml') - tell.warn + SiSU_Screen::Ansi.new(@md.cmd,'use of RMagick is not enabled in sisurc.yml').warn end end data.each do |dob| @@ -102,8 +101,7 @@ module SiSU_images img_col,img_row=img.columns,img.rows else if @md.cmd =~/[vVM]/ - tell=SiSU_Screen::Ansi.new(@md.cmd,'RMagick not present, will attempt to use imagemagick (identify) directly') - tell.warn + SiSU_Screen::Ansi.new(@md.cmd,'RMagick not present, will attempt to use imagemagick (identify) directly').warn end imgk=SiSU_Env::System_call.new.imagemagick gmgk=SiSU_Env::System_call.new.graphicksmagick @@ -140,8 +138,7 @@ module SiSU_images end else images=dob.obj.scan(m) do |image| - tell=SiSU_Screen::Ansi.new(@md.cmd,'where image dimensions have not been provided RMagick or imagemagick is required',image) - tell.warn #unless @opt.cmd =~/q/ + SiSU_Screen::Ansi.new(@md.cmd,'where image dimensions have not been provided RMagick or imagemagick is required',image).warn #unless @opt.cmd =~/q/ end end end |