mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05: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:
parent
31a55df3d9
commit
1bb0085dfe
@ -32,9 +32,7 @@ class pmrule(object):
|
|||||||
self.result = 0
|
self.result = 0
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
if len(self.rule) <= 40:
|
return self.rule
|
||||||
return self.rule
|
|
||||||
return self.rule[:37] + '...'
|
|
||||||
|
|
||||||
def check(self, test):
|
def check(self, test):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user