From 1bb0085dfea1fbda0fc7715a064cbac193d381e2 Mon Sep 17 00:00:00 2001 From: Jeremy Heiner Date: Wed, 9 Oct 2013 09:48:09 -0400 Subject: Jettison the truncation of the display of pmrules. 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 Signed-off-by: Dan McGee Signed-off-by: Allan McRae --- 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 c97a1584..cfcbb6b9 100644 --- a/test/pacman/pmrule.py +++ b/test/pacman/pmrule.py @@ -32,9 +32,7 @@ class pmrule(object): 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): """ -- cgit v1.2.3-70-g09d2