From: James Troup Date: Mon, 17 Nov 2003 17:59:26 +0000 (+0000) Subject: handle orig.tar.gz already in the archive in NEW. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=e6f9691c67b50f990263c71b71e471b6a00dcb9f;p=dak.git handle orig.tar.gz already in the archive in NEW. --- diff --git a/lisa b/lisa index 64bde074..1467b0e9 100755 --- a/lisa +++ b/lisa @@ -2,7 +2,7 @@ # Handles NEW and BYHAND packages # Copyright (C) 2001, 2002, 2003 James Troup -# $Id: lisa,v 1.25 2003-08-09 09:59:14 rdonald Exp $ +# $Id: lisa,v 1.26 2003-11-17 17:59:26 troup Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -42,7 +42,7 @@ import apt_pkg, apt_inst; import db_access, fernanda, katie, logging, utils; # Globals -lisa_version = "$Revision: 1.25 $"; +lisa_version = "$Revision: 1.26 $"; Cnf = None; Options = None; @@ -70,6 +70,10 @@ def recheck(): reject_message = ""; for file in files.keys(): + # The .orig.tar.gz can disappear out from under us is it's a + # duplicate of one in the archive. + if not files.has_key(file): + continue; # Check that the source still exists if files[file]["type"] == "deb": source_version = files[file]["source version"];