提交 c7894f83 编写于 作者: R Randall Donald

lisa: (recheck): change changes[] to Katie.pkg.changes[]

上级 5a7489c2
......@@ -2,7 +2,7 @@
# Handles NEW and BYHAND packages
# Copyright (C) 2001, 2002, 2003 James Troup <james@nocrew.org>
# $Id: lisa,v 1.24 2003-07-29 14:00:39 ajt Exp $
# $Id: lisa,v 1.25 2003-08-09 09:59:14 rdonald 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
......@@ -42,7 +42,7 @@ import apt_pkg, apt_inst;
import db_access, fernanda, katie, logging, utils;
# Globals
lisa_version = "$Revision: 1.24 $";
lisa_version = "$Revision: 1.25 $";
Cnf = None;
Options = None;
......@@ -75,7 +75,7 @@ def recheck():
source_version = files[file]["source version"];
source_package = files[file]["source package"];
if not Katie.pkg.changes["architecture"].has_key("source") \
and not Katie.source_exists(source_package, source_version, changes["distribution"].keys()):
and not Katie.source_exists(source_package, source_version, Katie.pkg.changes["distribution"].keys()):
source_epochless_version = utils.re_no_epoch.sub('', source_version);
dsc_filename = "%s_%s.dsc" % (source_package, source_epochless_version);
if not os.path.exists(Cnf["Dir::Queue::Accepted"] + '/' + dsc_filename):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册