]> git.decadent.org.uk Git - dak.git/commitdiff
use the id, not the object
authorMark Hymers <mhy@debian.org>
Tue, 27 Oct 2009 19:43:32 +0000 (19:43 +0000)
committerMark Hymers <mhy@debian.org>
Tue, 27 Oct 2009 19:43:32 +0000 (19:43 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/rm.py

index fe763605f545ddff7748a2a7dad6d7071ebc44ab..5140019454bd268e2f09f85e97733b920639b796 100755 (executable)
--- a/dak/rm.py
+++ b/dak/rm.py
@@ -505,8 +505,8 @@ def main ():
     logfile.write("----------------------------------------------\n")
     logfile.flush()
 
-    dsc_type_id = get_override_type('dsc', session)
-    deb_type_id = get_override_type('deb', session)
+    dsc_type_id = get_override_type('dsc', session).overridetype_id
+    deb_type_id = get_override_type('deb', session).overridetype_id
 
     # Do the actual deletion
     print "Deleting...",