# Generate file list for unstable_accepted
# Copyright (C) 2002 Ryan Murray <rmurray@debian.org>
-# $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
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();