mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-12 04:15:06 -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
|
||||
|
||||
def __str__(self):
|
||||
if len(self.rule) <= 40:
|
||||
return self.rule
|
||||
return self.rule[:37] + '...'
|
||||
return self.rule
|
||||
|
||||
def check(self, test):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user