From: Chris Lamb Date: Tue, 27 Oct 2009 10:41:14 +0000 (+0000) Subject: Correct grammar when rejecting a package with insufficient files. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a284d1ef8fd7e6029c506c470375ec2acc770bd;p=dak Correct grammar when rejecting a package with insufficient files. Signed-off-by: Chris Lamb --- diff --git a/daklib/srcformats.py b/daklib/srcformats.py index de564be1..90459ef3 100644 --- a/daklib/srcformats.py +++ b/daklib/srcformats.py @@ -36,7 +36,7 @@ class FormatThree(object): @classmethod def reject_msgs(cls, native_tar, native_tar_gz, debian_tar, debian_diff, orig_tar, orig_tar_gz, more_orig_tar): if not native_tar: - yield "lack required files for format %s" % cls.name + yield "lack of required files for format %s" % cls.name if orig_tar or debian_diff or debian_tar or more_orig_tar: yield "contains source files not allowed in format %s" % cls.name @@ -49,6 +49,6 @@ class FormatThreeQuilt(object): @classmethod def reject_msgs(cls, native_tar, native_tar_gz, debian_tar, debian_diff, orig_tar, orig_tar_gz, more_orig_tar): if not(orig_tar and debian_tar): - yield "lack required files for format %s" % cls.name + yield "lack of required files for format %s" % cls.name if debian_diff or native_tar: yield "contains source files not allowed in format %s" % cls.name