diff options
author | Toon Nolten <toonn@toonn.io> | 2018-10-25 12:08:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-25 12:08:32 +0200 |
commit | b5f75a6429d5610ce62998cc7b22227094b7c5eb (patch) | |
tree | b53b130a679d3e4ddbedb3315d804ddeccbafa17 | |
parent | 16949531f739ccf0cbf8ae543e7282de4291e165 (diff) | |
parent | 6002eedbb0bb497d7ca08278bf7b1c618314ae1b (diff) | |
download | ranger-b5f75a6429d5610ce62998cc7b22227094b7c5eb.tar.gz |
Merge pull request #1354 from me-ru-ru/master
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 |