Revert "Fix issue bob.db.base#16"

This reverts commit 1e98aa17
12 jobs for revert-1e98aa17 in 14 minutes and 42 seconds (queued for 5 seconds)
Name Stage Failure
failed
build_linux_34 Build There is an unknown failure, please try again
  File "/home/gitlab-runner/builds/0d638152/0/bob/bob.pad.base/build-prefix/lib/python3.4/site-packages/bob/db/base/database.py", line 164, in __del__
if self.is_valid():
File "/home/gitlab-runner/builds/0d638152/0/bob/bob.pad.base/build-prefix/lib/python3.4/site-packages/bob/db/base/database.py", line 181, in is_valid
return self.m_session is not None
AttributeError: 'TestDatabaseSql' object has no attribute 'm_session'
(00:00:15)
Error: Command Failed "./bin/bob_dbmanage.py all download --missing"
Running after script...
$ ./_ci/after_build.sh
ERROR: Job failed: exit status 1
failed
build_linux_27 Build There is an unknown failure, please try again
    **kwargs)
File "/home/gitlab-runner/builds/0d638152/0/bob/bob.pad.base/build-prefix/lib/python2.7/site-packages/bob/bio/base/database/database.py", line 93, in __init__
original_extension=original_extension)
TypeError: __init__() takes exactly 5 arguments (3 given)
Exception AttributeError: "'TestDatabaseSql' object has no attribute 'm_session'" in <bound method TestDatabaseSql.__del__ of <bob.pad.base.test.dummy.database_sql.TestDatabaseSql object at 0x7f020e7cce50>> ignored
(23:57:19)
Error: Command Failed "./bin/bob_dbmanage.py all download --missing"
Running after script...
$ ./_ci/after_build.sh
ERROR: Job failed: exit status 1
failed
build_macosx_35 Build There is an unknown failure, please try again
  File "/Users/buildbot/work/gitlab-ci/f6f95b82/0/bob/bob.pad.base/build-prefix/lib/python3.5/site-packages/bob/db/base/database.py", line 164, in __del__
if self.is_valid():
File "/Users/buildbot/work/gitlab-ci/f6f95b82/0/bob/bob.pad.base/build-prefix/lib/python3.5/site-packages/bob/db/base/database.py", line 181, in is_valid
return self.m_session is not None
AttributeError: 'TestDatabaseSql' object has no attribute 'm_session'
(23:31:27)
Error: Command Failed "./bin/bob_dbmanage.py all download --missing"
Running after script...
$ ./_ci/after_build.sh
ERROR: Job failed: exit status 1
failed
build_macosx_27 Build There is an unknown failure, please try again
    **kwargs)
File "/Users/buildbot/work/gitlab-ci/f6f95b82/0/bob/bob.pad.base/build-prefix/lib/python2.7/site-packages/bob/bio/base/database/database.py", line 93, in __init__
original_extension=original_extension)
TypeError: __init__() takes exactly 5 arguments (3 given)
Exception AttributeError: "'TestDatabaseSql' object has no attribute 'm_session'" in <bound method TestDatabaseSql.__del__ of <bob.pad.base.test.dummy.database_sql.TestDatabaseSql object at 0x116bf1250>> ignored
(23:36:21)
Error: Command Failed "./bin/bob_dbmanage.py all download --missing"
Running after script...
$ ./_ci/after_build.sh
ERROR: Job failed: exit status 1
failed
build_linux_35 Build There is an unknown failure, please try again
  File "/home/gitlab-runner/builds/0d638152/0/bob/bob.pad.base/build-prefix/lib/python3.5/site-packages/bob/db/base/database.py", line 164, in __del__
if self.is_valid():
File "/home/gitlab-runner/builds/0d638152/0/bob/bob.pad.base/build-prefix/lib/python3.5/site-packages/bob/db/base/database.py", line 181, in is_valid
return self.m_session is not None
AttributeError: 'TestDatabaseSql' object has no attribute 'm_session'
(00:02:41)
Error: Command Failed "./bin/bob_dbmanage.py all download --missing"
Running after script...
$ ./_ci/after_build.sh
ERROR: Job failed: exit status 1
failed
build_macosx_34 Build There is an unknown failure, please try again
  File "/Users/buildbot/work/gitlab-ci/f6f95b82/0/bob/bob.pad.base/build-prefix/lib/python3.4/site-packages/bob/db/base/database.py", line 164, in __del__
if self.is_valid():
File "/Users/buildbot/work/gitlab-ci/f6f95b82/0/bob/bob.pad.base/build-prefix/lib/python3.4/site-packages/bob/db/base/database.py", line 181, in is_valid
return self.m_session is not None
AttributeError: 'TestDatabaseSql' object has no attribute 'm_session'
(23:34:05)
Error: Command Failed "./bin/bob_dbmanage.py all download --missing"
Running after script...
$ ./_ci/after_build.sh
ERROR: Job failed: exit status 1