From 572d56051da10d263eec3cff63d98fc370c74d49 Mon Sep 17 00:00:00 2001
From: Manuel Gunther <siebenkopf@googlemail.com>
Date: Thu, 23 Feb 2017 13:56:55 -0700
Subject: [PATCH] Use new-style base classes

---
 bob/bio/base/algorithm/Algorithm.py       | 2 +-
 bob/bio/base/extractor/Extractor.py       | 2 +-
 bob/bio/base/grid.py                      | 2 +-
 bob/bio/base/preprocessor/Preprocessor.py | 2 +-
 bob/bio/base/tools/grid.py                | 4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bob/bio/base/algorithm/Algorithm.py b/bob/bio/base/algorithm/Algorithm.py
index 990c2093..38834b8f 100644
--- a/bob/bio/base/algorithm/Algorithm.py
+++ b/bob/bio/base/algorithm/Algorithm.py
@@ -7,7 +7,7 @@ import numpy
 import os
 from .. import utils
 
-class Algorithm:
+class Algorithm (object):
   """This is the base class for all biometric recognition algorithms.
   It defines the minimum requirements for all derived algorithm classes.
 
diff --git a/bob/bio/base/extractor/Extractor.py b/bob/bio/base/extractor/Extractor.py
index 251d6283..fc09fb62 100644
--- a/bob/bio/base/extractor/Extractor.py
+++ b/bob/bio/base/extractor/Extractor.py
@@ -7,7 +7,7 @@ import os
 
 from .. import utils
 
-class Extractor:
+class Extractor (object):
   """This is the base class for all feature extractors.
   It defines the minimum requirements that a derived feature extractor class need to implement.
 
diff --git a/bob/bio/base/grid.py b/bob/bio/base/grid.py
index def7125b..63906613 100644
--- a/bob/bio/base/grid.py
+++ b/bob/bio/base/grid.py
@@ -21,7 +21,7 @@ PREDEFINED_QUEUES = {
 
 from . import utils
 
-class Grid:
+class Grid (object):
   """This class is defining the options that are required to submit parallel jobs to the SGE grid, or jobs to the local queue.
 
   If the given ``grid_type`` is ``'sge'`` (the default), this configuration is set up to submit algorithms to the SGE grid.
diff --git a/bob/bio/base/preprocessor/Preprocessor.py b/bob/bio/base/preprocessor/Preprocessor.py
index ab3bb1c6..b8382b08 100644
--- a/bob/bio/base/preprocessor/Preprocessor.py
+++ b/bob/bio/base/preprocessor/Preprocessor.py
@@ -6,7 +6,7 @@
 from .. import utils
 
 
-class Preprocessor:
+class Preprocessor (object):
     """This is the base class for all preprocessors.
     It defines the minimum requirements for all derived proprocessor classes.
 
diff --git a/bob/bio/base/tools/grid.py b/bob/bio/base/tools/grid.py
index cb04d88a..909ac209 100644
--- a/bob/bio/base/tools/grid.py
+++ b/bob/bio/base/tools/grid.py
@@ -32,7 +32,7 @@ def indices(list_to_split, number_of_parallel_jobs, task_id=None):
     return (start, end)
 
 
-class GridSubmission:
+class GridSubmission (object):
   def __init__(self, args, command_line_parameters, executable = 'verify.py', first_fake_job_id = 0):
     # find, where the executable is installed
     import bob.extension
@@ -49,7 +49,7 @@ class GridSubmission:
 
     if args.grid is not None:
       assert isinstance(args.grid, grid.Grid)
-      
+
       self.env = args.env #Fetching the enviroment variable
 
       # find, where jman is installed
-- 
GitLab