ignore the crap sqlalchemy warnings
Signed-off-by: Joerg Jaspert <joerg@debian.org>
import sys
import traceback
import daklib.utils
+import warnings
from daklib.daklog import Logger
from daklib.config import Config
daklib.utils.warn("unknown command '%s'" % (cmdname))
usage(functionality, 1)
+ # We do not care. No idea wth sqlalchemy warns about them, makes no sense,
+ # so we ignore it.
+ warnings.filterwarnings("ignore", 'Predicate of partial index')
+
# Invoke the module
module = __import__(cmdname.replace("-","_"))