From 012078c49264fb1afb3d04e773c94c094a5f2878 Mon Sep 17 00:00:00 2001
From: Tiago Freitas Pereira <tiagofrepereira@gmail.com>
Date: Mon, 24 Aug 2015 14:11:44 +0200
Subject: [PATCH] Fixed copy and paste issue in line 46. This was breaking the
 code

---
 bob/bio/base/tools/scoring.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/bob/bio/base/tools/scoring.py b/bob/bio/base/tools/scoring.py
index 3d5a756c..b22191fe 100644
--- a/bob/bio/base/tools/scoring.py
+++ b/bob/bio/base/tools/scoring.py
@@ -43,8 +43,6 @@ def _open_to_read(score_file):
   if not os.path.exists(score_file):
     score_file += '.tar.bz2'
     if not os.path.exists(score_file):
-      f.close()
-      os.remove(output)
       raise IOError("The score file '%s' cannot be found. Aborting!" % score_file)
   return bob.measure.load.open_file(score_file)
 
-- 
GitLab