]> git.decadent.org.uk Git - dak.git/blobdiff - dak/dak.py
Suppress warnings in the most suitable files.
[dak.git] / dak / dak.py
index bd5108fa6e2e49607b2fc59050a43d95087e88c4..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
@@ -108,8 +107,6 @@ def init():
          "Manipulate suites in bulk"),
         ("cruft-report",
          "Check for obsolete or duplicated packages"),
-        ("decode-dot-dak",
-         "Display contents of a .dak file"),
         ("examine-package",
          "Show information useful for NEW processing"),
         ("find-null-maintainers",
@@ -122,8 +119,6 @@ def init():
          "Sync PostgreSQL users with passwd file"),
         ("admin",
          "Perform administration on the dak database"),
-        ("init-db",
-         "Update the database to match the conf file"),
         ("update-db",
          "Updates databae schema to latest revision"),
         ("init-dirs",
@@ -148,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
 
@@ -209,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("-","_"))