From 683f9968cd3976d03b250dbaacc154ac6ea40559 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Mon, 9 Oct 2017 10:32:30 +0200
Subject: [PATCH] Revert "Merge branch 'refactoring_2016' into 'master'"

This reverts merge request !57
---
 bob/bio/base/database/database.py | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/bob/bio/base/database/database.py b/bob/bio/base/database/database.py
index 2ab51564..0bcd5b67 100644
--- a/bob/bio/base/database/database.py
+++ b/bob/bio/base/database/database.py
@@ -196,18 +196,9 @@ class BioDatabase(six.with_metaclass(abc.ABCMeta, bob.db.base.Database)):
         if self.original_directory in replacements:
             self.original_directory = replacements[self.original_directory]
 
-        try:
-            self._db.original_directory = self.original_directory
-        except AttributeError:
-            pass
-
         try:
             if self.annotation_directory in replacements:
                 self.annotation_directory = replacements[self.annotation_directory]
-                try:
-                    self._db.annotation_directory = self.annotation_directory
-                except AttributeError:
-                    pass
         except AttributeError:
             pass
 
-- 
GitLab