X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcheck_archive.py;h=84bc779988fc1847c0a6d6e95207a9c60819d71a;hb=b18bae735f509f17d35a3f80284cd9bd374bd3a6;hp=52f0428040cd81c589fc8733a1a8fed0588f18ce;hpb=e2ae71066cbb134753d7bfceb16e87d0b76dfd6e;p=dak.git diff --git a/dak/check_archive.py b/dak/check_archive.py index 52f04280..84bc7799 100755 --- a/dak/check_archive.py +++ b/dak/check_archive.py @@ -26,7 +26,7 @@ ################################################################################ -import commands, os, pg, stat, string, sys, time +import commands, os, pg, stat, sys, time import apt_pkg, apt_inst import daklib.database import daklib.utils @@ -345,7 +345,7 @@ def check_indices_files_exist(): for suite in [ "stable", "testing", "unstable" ]: for component in Cnf.ValueList("Suite::%s::Components" % (suite)): architectures = Cnf.ValueList("Suite::%s::Architectures" % (suite)) - for arch in map(string.lower, architectures): + for arch in [ i.lower() for i in architectures ]: if arch == "source": validate_sources(suite, component) elif arch == "all":