summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-10-16 16:25:30 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2015-10-16 16:25:30 +0300
commitb90d1a88f2e6d45abbd7a0fed48dfb21d92cb8fc (patch)
tree1cab8e109267c3459a5e35ca2c326617e036832b
parent1a63781afd12efc2279dc96c87ea6e0b0331ccc7 (diff)
downloadpylint-b90d1a88f2e6d45abbd7a0fed48dfb21d92cb8fc.tar.gz
Remove handling of pending_urls, which is unused by pylint.
-rw-r--r--pylint/reporters/ureports/text_writer.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/pylint/reporters/ureports/text_writer.py b/pylint/reporters/ureports/text_writer.py
index 271fe35..acf7b3b 100644
--- a/pylint/reporters/ureports/text_writer.py
+++ b/pylint/reporters/ureports/text_writer.py
@@ -36,7 +36,6 @@ class TextWriter(BaseWriter):
def begin_format(self):
super(TextWriter, self).begin_format()
self.list_level = 0
- self.pending_urls = []
def visit_section(self, layout):
"""display a section as text
@@ -44,11 +43,6 @@ class TextWriter(BaseWriter):
self.section += 1
self.writeln()
self.format_children(layout)
- if self.pending_urls:
- self.writeln()
- for label, url in self.pending_urls:
- self.writeln(u'.. _`%s`: %s' % (label, url))
- self.pending_urls = []
self.section -= 1
self.writeln()