]> git.decadent.org.uk Git - dak.git/blobdiff - dak/dak.py
Suppress warnings in the most suitable files.
[dak.git] / dak / dak.py
index 7d4a4157f891e84026a0d97be25669b5bc079f2c..a25afb669a02634ad1b0f6fe2d8ca84a97abbff1 100755 (executable)
@@ -37,7 +37,6 @@ import os
 import sys
 import traceback
 import daklib.utils
-import warnings
 
 from daklib.daklog import Logger
 from daklib.config import Config
@@ -144,6 +143,10 @@ def init():
          "Add a user to the archive"),
         ("make-changelog",
          "Generate changelog between two suites"),
+        ("copy-installer",
+         "Copies the installer from one suite to another"),
+        ("override-disparity",
+         "Generate a list of override disparities"),
         ]
     return functionality
 
@@ -205,10 +208,6 @@ 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("-","_"))