]> err.no Git - dak/commitdiff
bugfixes
authorTorsten Werner <twerner@debian.org>
Tue, 8 Mar 2011 20:13:06 +0000 (20:13 +0000)
committerTorsten Werner <twerner@debian.org>
Tue, 8 Mar 2011 20:13:06 +0000 (20:13 +0000)
Signed-off-by: Torsten Werner <twerner@debian.org>
dak/contents.py

index 0a3c25741fc74ec172a37151bfd36f83b79d4154..5c33afa2f67f333e4ff1f3ee2b74e697338a4d5f 100755 (executable)
@@ -86,7 +86,7 @@ def write_helper(suite_name, argv):
     session = DBConn().session()
     suite = get_suite(suite_name, session)
     architecture = get_architecture(argv[0], session)
-    debtype = get_overridetype(argv[1], session)
+    debtype = get_override_type(argv[1], session)
     if len(argv) == 3:
         component = get_component(argv[2], session)
     else:
@@ -141,7 +141,7 @@ def main():
         return
 
     if args[0] == 'generate_helper':
-        write_helper(suite_names[0], argv[1:])
+        write_helper(suite_names[0], args[1:])
         return
 
     usage()