diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-08-26 15:53:41 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-08-26 15:53:41 -0400 |
commit | 5fb6482692cfffba5ba45102858b14ba3acc5bc7 (patch) | |
tree | e5e02188cf3eea77658cc4d237d06a24e7781c9e /tests/unittests/test_util.py | |
parent | 2e6aa38e0986ee67f5e93cd6bb7b32c52f8207e6 (diff) | |
download | vyos-cloud-init-5fb6482692cfffba5ba45102858b14ba3acc5bc7.tar.gz vyos-cloud-init-5fb6482692cfffba5ba45102858b14ba3acc5bc7.zip |
further remove evidence of pylint.
This just removes comments '# pylint:' things and other code
remnents of pylint.
Diffstat (limited to 'tests/unittests/test_util.py')
-rw-r--r-- | tests/unittests/test_util.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/unittests/test_util.py b/tests/unittests/test_util.py index 0cb41520..35e92445 100644 --- a/tests/unittests/test_util.py +++ b/tests/unittests/test_util.py @@ -1,5 +1,3 @@ -# pylint: disable=C0301 -# the mountinfo data lines are too long import os import stat import yaml @@ -18,7 +16,7 @@ class FakeSelinux(object): self.match_what = match_what self.restored = [] - def matchpathcon(self, path, mode): # pylint: disable=W0613 + def matchpathcon(self, path, mode): if path == self.match_what: return else: @@ -27,7 +25,7 @@ class FakeSelinux(object): def is_selinux_enabled(self): return True - def restorecon(self, path, recursive): # pylint: disable=W0613 + def restorecon(self, path, recursive): self.restored.append(path) |