Skip to content
Snippets Groups Projects
Commit 4cea21e8 authored by Laurent EL SHAFEY's avatar Laurent EL SHAFEY
Browse files

Fix driver to use bob v1 API

parent a2332b3f
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
import os import os
import sys import sys
from xbob.db.base.driver import Interface as BaseInterface from bob.db.driver import Interface as BaseInterface
def dumplist(args): def dumplist(args):
"""Dumps lists of files based on your criteria""" """Dumps lists of files based on your criteria"""
...@@ -37,7 +37,7 @@ def dumplist(args): ...@@ -37,7 +37,7 @@ def dumplist(args):
output = sys.stdout output = sys.stdout
if args.selftest: if args.selftest:
from xbob.db.base.utils import null from bob.db.utils import null
output = null() output = null()
for f in r: for f in r:
...@@ -63,7 +63,7 @@ def checkfiles(args): ...@@ -63,7 +63,7 @@ def checkfiles(args):
# report # report
output = sys.stdout output = sys.stdout
if args.selftest: if args.selftest:
from xbob.db.base.utils import null from bob.db.utils import null
output = null() output = null()
if bad: if bad:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment