# Sanity check the database
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
# Sanity check the database
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
# 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
# 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
if os.access(filename, os.R_OK) == 0:
utils.warn("'%s' doesn't exist." % (filename));
if os.access(filename, os.R_OK) == 0:
utils.warn("'%s' doesn't exist." % (filename));
continue;
component = string.lower(component);
list_filename = '%s%s_%s_source.list' % (Cnf["Dir::ListsDir"], suite, component);
continue;
component = string.lower(component);
list_filename = '%s%s_%s_source.list' % (Cnf["Dir::ListsDir"], suite, component);