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

Drop unused 'pid' parameter from ReadLog.__init__()

... and self.pid which is also unused.

This simple change also means to adjust all the code that uses ReadLog.
We get rid of log_pid in aa.py, and have to change lots of test-*
This commit is contained in:
Christian Boltz
2019-05-04 00:22:46 +02:00
parent 9a92909a89
commit 45a3d8920a
12 changed files with 20 additions and 22 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 ...'