2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +00:00

Drop 'log' parameter from ReadLog

This parameter is always [], so we can simplify the ReadLog __init__()
parameters.

Note that some tests handed over '' instead of []. This was a bug, but
didn't matter because those tests only use a small portion of ReadLog.


Acked-by: Seth Arnold <seth.arnold@canonical.com>
This commit is contained in:
Christian Boltz
2017-08-28 23:15:51 +02:00
parent a016042a9a
commit ae692bfb3b
12 changed files with 19 additions and 19 deletions

View File

@@ -96,7 +96,7 @@ class RlimitTestParseInvalid(RlimitTest):
class RlimitTestParseFromLog(RlimitTest):
pass
# def test_net_from_log(self):
# parser = ReadLog('', '', '', '', '')
# parser = ReadLog('', '', '', '')
# event = 'type=AVC ...'