From: Joerg Jaspert Date: Sat, 9 Jan 2010 23:16:44 +0000 (+0100) Subject: dak.py X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c9a01db9ca48f1e12310bc74c7e60814530f211f;p=dak.git dak.py ignore the crap sqlalchemy warnings Signed-off-by: Joerg Jaspert --- diff --git a/dak/dak.py b/dak/dak.py index 67314ff5..9be84300 100755 --- a/dak/dak.py +++ b/dak/dak.py @@ -37,6 +37,7 @@ import os import sys import traceback import daklib.utils +import warnings from daklib.daklog import Logger from daklib.config import Config @@ -206,6 +207,10 @@ def main(): 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("-","_"))