From: martinahansen Date: Wed, 13 Mar 2013 06:58:56 +0000 (+0000) Subject: added hacky thing to avoid warning from zlib X-Git-Url: https://git.donarmstrong.com/?p=biopieces.git;a=commitdiff_plain;h=db292cc5d7f63299f8f2234a6150d3f16ac324ae added hacky thing to avoid warning from zlib git-svn-id: http://biopieces.googlecode.com/svn/trunk@2136 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/code_ruby/lib/maasha/filesys.rb b/code_ruby/lib/maasha/filesys.rb index 7480293..e842178 100644 --- a/code_ruby/lib/maasha/filesys.rb +++ b/code_ruby/lib/maasha/filesys.rb @@ -71,7 +71,7 @@ class Filesys # Method to close ios. def close - @io.close + @io.close unless @io.is_a? Zlib::GzipReader end def eof?