X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=andrea;h=8e3bb5c72276505aa16083005c69cbca4d8d8936;hb=0ea570b0ff8bb87f8799053bbd4552d444bbe2f2;hp=5c32e3ae90abadc2ee6f7305d3955f4e4ac3a5c6;hpb=80ba7d5f206f1ddff863968989697d99f6aefde5;p=dak.git diff --git a/andrea b/andrea index 5c32e3ae..8e3bb5c7 100755 --- a/andrea +++ b/andrea @@ -2,7 +2,7 @@ # Check for fixable discrepancies between stable and unstable # Copyright (C) 2000, 2001, 2002 James Troup -# $Id: andrea,v 1.6 2002-05-03 16:06:45 troup Exp $ +# $Id: andrea,v 1.8 2002-10-16 02:47:32 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 @@ -21,7 +21,7 @@ ################################################################################ -import pg, string, sys; +import pg, sys; import utils, db_access; import apt_pkg; @@ -50,7 +50,7 @@ def main (): arch_all_id = db_access.get_architecture_id("all"); dsc_type_id = db_access.get_override_type_id("dsc"); - for arch in Cnf.SubTree("Suite::%s::Architectures" % (src_suite)).List(): + for arch in Cnf.ValueList("Suite::%s::Architectures" % (src_suite)): if arch == "source": continue; @@ -76,7 +76,7 @@ SELECT b_src.package, b_src.version, a.arch_string ORDER BY b_src.package;""" % (src_suite_id, arch_id, dst_suite_id, dsc_type_id, arch_id, arch_all_id, dst_suite_id, dst_suite_id)); for i in q.getresult(): - print string.join(i, ' '); + print " ".join(i); #######################################################################################