From ba9dcaac5120f58c3cc0bc455b4beceab3a4abd9 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 8 Mar 2015 16:59:27 +0100 Subject: more pep8 fixes --- sphinx/domains/javascript.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sphinx/domains/javascript.py') diff --git a/sphinx/domains/javascript.py b/sphinx/domains/javascript.py index 2045873b9..843629b3b 100644 --- a/sphinx/domains/javascript.py +++ b/sphinx/domains/javascript.py @@ -183,7 +183,7 @@ class JavaScriptDomain(Domain): } def clear_doc(self, docname): - for fullname, (fn, _) in list(self.data['objects'].items()): + for fullname, (fn, _l) in list(self.data['objects'].items()): if fn == docname: del self.data['objects'][fullname] @@ -233,4 +233,4 @@ class JavaScriptDomain(Domain): def get_objects(self): for refname, (docname, type) in list(self.data['objects'].items()): yield refname, refname, type, docname, \ - refname.replace('$', '_S_'), 1 + refname.replace('$', '_S_'), 1 -- cgit v1.2.1