X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=neve;h=21f7413150405386b6583c8c6b4fca62902611c4;hb=8e9a5d533c8458eaca33266208f6c347d66dfeef;hp=15883947487aaa65aeff10188e67594365d1e8e5;hpb=9a89f745ed13e05507dd5297fa4a860c4fdc2b2e;p=dak.git diff --git a/neve b/neve index 15883947..21f74131 100755 --- a/neve +++ b/neve @@ -2,7 +2,7 @@ # Populate the DB # Copyright (C) 2000, 2001, 2002 James Troup -# $Id: neve,v 1.10 2002-05-14 15:28:53 troup Exp $ +# $Id: neve,v 1.11 2002-05-18 23:55:15 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 @@ -37,7 +37,7 @@ ############################################################################### -import commands, os, pg, re, select, string, sys, tempfile, time; +import commands, os, pg, re, select, string, tempfile, time; import apt_pkg; import db_access, utils; @@ -148,7 +148,7 @@ def reject (str, prefix="Rejected: "): def check_signature (filename): if not utils.re_taint_free.match(os.path.basename(filename)): reject("!!WARNING!! tainted filename: '%s'." % (filename)); - return 0; + return None; status_read, status_write = os.pipe(); cmd = "gpgv --status-fd %s --keyring %s --keyring %s %s" \