From: Ryan Murray Date: Wed, 15 May 2002 07:54:28 +0000 (+0000) Subject: fix cameron to work again X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=d5da6b6cce1c052593c06597e943285e7fbd409a;p=dak.git fix cameron to work again --- diff --git a/cameron b/cameron index de943f7e..28c6f4d7 100755 --- a/cameron +++ b/cameron @@ -2,7 +2,7 @@ # Generate file list for unstable_accepted # Copyright (C) 2002 Ryan Murray -# $Id: cameron,v 1.2 2002-05-10 00:24:07 troup Exp $ +# $Id: cameron,v 1.3 2002-05-15 07:54:28 rmurray 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 @@ -36,7 +36,7 @@ def main(): list = utils.open_file("%s/unstable_accepted.list" % (Cnf["Dir::Lists"]), "w"); q = projectB.query("SELECT filename FROM unstable_accepted WHERE in_accepted AND filename ~ '(u?deb|dsc)$'"); for entry in q.getresult(): - filename = os.path.join(os.path.dirname(entry[0]),'/incoming/',os.path.basename(entry[0])); + filename = os.path.join(os.path.dirname(entry[0]),'incoming',os.path.basename(entry[0])); list.write("%s\n" % (filename)); list.close();