X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate30.py;h=2d962749219a8ba513bbccb9517f622960928b5e;hb=706f80ddedb47b244c8bb819f973eeea6ba6b9f3;hp=2cba65897372fb174f2f75bedb166dd0bca07200;hpb=8cad53c0c46dc6e284b6bf51d166b36b0bd8ba63;p=dak.git diff --git a/dak/dakdb/update30.py b/dak/dakdb/update30.py index 2cba6589..2d962749 100644 --- a/dak/dakdb/update30.py +++ b/dak/dakdb/update30.py @@ -58,13 +58,11 @@ def do_update(self): JOIN section s on s.id=o.section WHERE b.id=$1 AND o.suite=$2 + AND ot.type in ('deb','udeb') \"\"\", ["int", "int"]), [TD["new"]["bin"], TD["new"]["suite"]])[0] - if content_data['type'] not in ['deb', 'udeb']: - return - tablename="%s_contents" % content_data['type'] plpy.execute(plpy.prepare(\"\"\"DELETE FROM %s