diff --git a/bob/bio/base/tools/scoring.py b/bob/bio/base/tools/scoring.py index 06aecdbd136275da31a78c6240a48c61e368c5a1..e2c13d7f4088f0028d96bf379b008c02553933ea 100644 --- a/bob/bio/base/tools/scoring.py +++ b/bob/bio/base/tools/scoring.py @@ -43,7 +43,7 @@ def _open_to_read(score_file): """check for the existence of the normal and the compressed version of the file, and calls bob.measure.load.open_file for the existing one.""" if not os.path.exists(score_file): score_file += '.tar.bz2' - if not os.path.exist(score_file): + if not os.path.exists(score_file): f.close() os.remove(output) raise IOError("The score file '%s' cannot be found. Aborting!" % score_file) diff --git a/buildout.cfg b/buildout.cfg index 1886d156a9b89b073d94b73ff1f4fbedcafae5c0..a64aa942080cf59feb9bea2cabbd5eea0db2023f 100644 --- a/buildout.cfg +++ b/buildout.cfg @@ -11,7 +11,7 @@ extensions = bob.buildout develop = . ; options for bob.buildout -debug = true +debug = false verbose = true newest = false