summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorToon Nolten <toonn@toonn.io>2018-10-25 12:08:32 +0200
committerGitHub <noreply@github.com>2018-10-25 12:08:32 +0200
commitb5f75a6429d5610ce62998cc7b22227094b7c5eb (patch)
treeb53b130a679d3e4ddbedb3315d804ddeccbafa17
parent16949531f739ccf0cbf8ae543e7282de4291e165 (diff)
parent6002eedbb0bb497d7ca08278bf7b1c618314ae1b (diff)
downloadranger-b5f75a6429d5610ce62998cc7b22227094b7c5eb.tar.gz
Merge pull request #1354 from me-ru-ru/master
Delete unused variable
-rwxr-xr-xranger/ext/rifle.py2
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