Skip to content

Commit 9f013c1

Browse files
committed
Disable pylint duplicate check for encfs module
- It's OK to remove these checks for encfs, as we plan to deprecate and remove the encfs code.
1 parent d5021e1 commit 9f013c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/encfstools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def __init__(self, *args, **kwargs):
5252

5353
self.setDefaultArgs()
5454

55+
# pylint: disable=duplicate-code
5556
self.mountproc = 'encfs'
5657
self.log_command = '%s: %s' % (self.mode, self.path)
5758
self.symlink_subfolder = None
@@ -117,6 +118,7 @@ def configFile(self):
117118
return encfs config file
118119
"""
119120
f = '.encfs6.xml'
121+
# pylint: disable=duplicate-code
120122
if self.config_path is None:
121123
cfg = os.path.join(self.path, f)
122124
else:

0 commit comments

Comments
 (0)