From 73df3cfebee5e4b896b2da1fb735168e80a6c186 Mon Sep 17 00:00:00 2001
From: Manuel Guenther <manuel.guenther@idiap.ch>
Date: Mon, 1 Jun 2015 15:15:05 +0200
Subject: [PATCH] Imporoved py26 compatibility

---
 bob/bio/gmm/tools/utils.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bob/bio/gmm/tools/utils.py b/bob/bio/gmm/tools/utils.py
index df76c4b..fe773e0 100644
--- a/bob/bio/gmm/tools/utils.py
+++ b/bob/bio/gmm/tools/utils.py
@@ -7,7 +7,9 @@ def add_jobs(args, submitter, local_job_adder):
 
   # Here, we use the default bob.bio.base add_jobs function, but intercept it for adding the training
   SKIPS = ['preprocessing', 'extractor_training', 'extraction', 'projector_training', 'projection', 'enroller_training', 'enrollment', 'score_computation', 'concatenation', 'calibration']
-  original_skips = {key : args.__dict__["skip_%s" % key] for key in SKIPS}
+#  original_skips = {key : args.__dict__["skip_%s" % key] for key in SKIPS}
+  original_skips = {}
+  for key in SKIPS: original_skips[key] = args.__dict__["skip_%s" % key]
 
   # first, submit preprocessing and feature extraction; skip all others
   for key in SKIPS[3:]:
-- 
GitLab