X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fdbconn.py;h=6070cded680d560e9cfc4ccca366993eea30c8a7;hb=f3db7ee80798580c7e5a0e1f48e008bc22a8bdfc;hp=5bd1d76595717043fb744d1715d33612e8d9c442;hpb=603d8ace7d4f942c999c29556bde38ec2516b9a8;p=dak.git diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 5bd1d765..6070cded 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -470,7 +470,7 @@ class DBConn(Singleton): try: # Remove any already existing recorded files for this package - c.execute("""DELETE FROM temp_content_associations + c.execute("""DELETE FROM pending_content_associations WHERE package=%(Package)s AND version=%(Version)s""", package ) @@ -481,7 +481,7 @@ class DBConn(Singleton): file_id = self.get_or_set_contents_file_id(file) path_id = self.get_or_set_contents_path_id(path) - c.execute("""INSERT INTO temp_content_associations + c.execute("""INSERT INTO pending_content_associations (package, version, filepath, filename) VALUES (%%(Package)s, %%(Version)s, '%d', '%d')""" % (path_id, file_id), package )