diff options
author | meruru <meruru@teknik.io> | 2018-10-25 00:46:20 -0300 |
---|---|---|
committer | meruru <meruru@teknik.io> | 2018-10-25 00:46:20 -0300 |
commit | 6002eedbb0bb497d7ca08278bf7b1c618314ae1b (patch) | |
tree | b53b130a679d3e4ddbedb3315d804ddeccbafa17 | |
parent | 16949531f739ccf0cbf8ae543e7282de4291e165 (diff) | |
download | ranger-6002eedbb0bb497d7ca08278bf7b1c618314ae1b.tar.gz |
Delete unused variable
-rwxr-xr-x | ranger/ext/rifle.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py index ee156d9a..377f9b8a 100755 --- a/ranger/ext/rifle.py +++ b/ranger/ext/rifle.py @@ -162,9 +162,7 @@ class Rifle(object): # pylint: disable=too-many-instance-attributes config_file = self.config_file fobj = open(config_file, 'r') self.rules = [] - lineno = 0 for line in fobj: - lineno += 1 line = line.strip() if line.startswith('#') or line == '': continue |