# HG changeset patch # User cmlenz # Date 1129319480 0 # Node ID 3950b8141e85e496192c8d9067f8b5524b98f42b # Parent 33625fa61d6c981a8addff1ea1c8ff63ed3b970e Remove unused code that failed when using PostgreSQL. Thanks to Fabian Wiesel for the patch. diff --git a/bitten/model.py b/bitten/model.py --- a/bitten/model.py +++ b/bitten/model.py @@ -573,7 +573,6 @@ "started,stopped) VALUES (%s,%s,%s,%s,%s,%s)", (self.build, self.name, self.description or '', self.status, self.started or 0, self.stopped or 0)) - step_id = db.get_last_id(cursor, 'bitten_step') if self.errors: cursor.executemany("INSERT INTO bitten_error (build,step,message," "orderno) VALUES (%s,%s,%s,%s)",