]> git.donarmstrong.com Git - biopieces.git/commitdiff
added hacky thing to avoid warning from zlib
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 13 Mar 2013 06:58:56 +0000 (06:58 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 13 Mar 2013 06:58:56 +0000 (06:58 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@2136 74ccb610-7750-0410-82ae-013aeee3265d

code_ruby/lib/maasha/filesys.rb

index 7480293fdaf9ff02cabddccc6e0f3c72c5d2af1d..e842178853a6f79d9aab4df1239c7a5908c7a6fa 100644 (file)
@@ -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?