[pacman-dev] [PATCH v2] Jettison the truncation of the display of pmrules.

Dan McGee dpmcgee at gmail.com
Wed Oct 9 10:15:59 EDT 2013


On Wed, Oct 9, 2013 at 2:48 PM, Jeremy Heiner <scalaprotractor at gmail.com>wrote:

> The truncation helped back when the test output appeared when run via
> make. But now "make check" logs that output, and it makes little sense
> to log the truncated rules.
>
> Signed-off-by: Jeremy Heiner <ScalaProtractor at gmail.com>
> ---
>
Signed-off-by: Dan McGee <dan at archlinux.org>


>  test/pacman/pmrule.py | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/test/pacman/pmrule.py b/test/pacman/pmrule.py
> index c97a158..cfcbb6b 100644
> --- a/test/pacman/pmrule.py
> +++ b/test/pacman/pmrule.py
> @@ -32,9 +32,7 @@ def __init__(self, rule):
>          self.result = 0
>
>      def __str__(self):
> -        if len(self.rule) <= 40:
> -            return self.rule
> -        return self.rule[:37] + '...'
> +        return self.rule
>
>      def check(self, test):
>          """
> --
> 1.8.4
>
>
>


More information about the pacman-dev mailing list