提交 6b4406af 编写于 作者: J James Troup

Improve 'timestamp check failed' error message.

上级 90885e6f
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Checks Debian packages from Incoming # Checks Debian packages from Incoming
# Copyright (C) 2000, 2001, 2002, 2003 James Troup <james@nocrew.org> # Copyright (C) 2000, 2001, 2002, 2003 James Troup <james@nocrew.org>
# $Id: jennifer,v 1.33 2003-03-14 19:06:02 troup Exp $ # $Id: jennifer,v 1.34 2003-05-02 13:54:52 troup Exp $
# This program is free software; you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License as published by
...@@ -45,7 +45,7 @@ re_valid_pkg_name = re.compile(r"^[\dA-Za-z][\dA-Za-z\+\-\.]+$"); ...@@ -45,7 +45,7 @@ re_valid_pkg_name = re.compile(r"^[\dA-Za-z][\dA-Za-z\+\-\.]+$");
################################################################################ ################################################################################
# Globals # Globals
jennifer_version = "$Revision: 1.33 $"; jennifer_version = "$Revision: 1.34 $";
Cnf = None; Cnf = None;
Options = None; Options = None;
...@@ -762,7 +762,7 @@ def check_timestamps(): ...@@ -762,7 +762,7 @@ def check_timestamps():
% (filename, num_ancient_files, ancient_file, % (filename, num_ancient_files, ancient_file,
time.ctime(ancient_date))); time.ctime(ancient_date)));
except: except:
reject("%s: timestamp check failed; caught %s" % (filename, sys.exc_type)); reject("%s: deb contents timestamp check failed [%s: %s]" % (filename, sys.exc_type, sys.exc_value));
################################################################################ ################################################################################
################################################################################ ################################################################################
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册