1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

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 <ScalaProtractor at gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Jeremy Heiner 2013-10-09 09:48:09 -04:00 committed by Allan McRae
parent 31a55df3d9
commit 1bb0085dfe

View File

@ -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] + '...'
def check(self, test):
"""