[pacman-dev] [PATCH] Don't truncate display of rules when unit tests are run with "-v".

Jeremy Heiner <ScalaProtractor at gmail.com> scalaprotractor at gmail.com
Wed Oct 2 09:08:12 EDT 2013


Signed-off-by: Jeremy Heiner <ScalaProtractor at gmail.com>
---
 test/pacman/pmrule.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/pacman/pmrule.py b/test/pacman/pmrule.py
index c97a158..b289146 100644
--- a/test/pacman/pmrule.py
+++ b/test/pacman/pmrule.py
@@ -32,7 +32,7 @@ def __init__(self, rule):
         self.result = 0
 
     def __str__(self):
-        if len(self.rule) <= 40:
+        if util.verbose or len(self.rule) <= 40:
             return self.rule
         return self.rule[:37] + '...'
 
-- 
1.8.4



More information about the pacman-dev mailing list