[dak/master] dak.py
ignore the crap sqlalchemy warnings
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
dak/dak.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dak/dak.py b/dak/dak.py
index 67314ff..9be8430 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("-","_"))
--
1.6.5
Reply to: