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

Jeremy Heiner scalaprotractor at gmail.com
Wed Oct 9 09:48:09 EDT 2013


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>
---
 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